$cmdbox

From Scriptwiki
Jump to: navigation, search

Returns $true if a command or script was initiated via the command editbox in a channel window.

$cmdbox
  • This function has no parameters.

Example

alias whois {
  ;;If user types /whois then
  if ($cmdbox && $1 && !$2) { tokenize 32 $1 $1 }
  !whois $$1-
}