An ACS library for ZDoom-based ports
bool KeyBound(str alias)
Returns true if the key is bound to the specified alias.
Works by reading StrParam(k:alias) and comparing it to “??? (alias)”
StrParam(k:alias)
“??? (alias)”
<code> if (!KeyBound(“+attack”))
print(s:"Please bind an attack key");
<code>