$cmdbox

From Scriptwiki
Revision as of 08:29, 2 July 2007 by Cail (talk | contribs) (see also didn't even have $cmdline linked :|)

Jump to: navigation, search

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

$cmdbox

Example

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

See Also