a simplistic on input event which i'm sure loads of people are quite fond of using lacks one key argument. A way to detect weither or not someone is entering a command into that active windows editbox. You can determine if your pasting to it with $inpaste or even determine if ctrl+enter was pressed with $ctrlenter but theres no identifier that I could find in the mirc help file which returns your command prefix set in Options->Other->Command Prefix

most peoples on input events start out with something like this:
Code:
on *:input:#: {
  if ($left($1,1) != /) || ($ctrlenter) {
    haltdef and do some kinda text theming and hide messaging the room.
  }
}


which is fine and dandy, but what if a user decides they don't like "/" as their command prefix? I know there is a simplistic solution for this problem, which is:
Code:
$readini($mircini,text,commandchar)


but once again, that is only a temporary solution as mIRC develops the mirc.ini doesn't necessarily stay backward compatible, like stated in the mIRC 7 beta. There really should be an identifier to return this since it is a changable option.