$cmdbox

From Scriptwiki
Revision as of 00:12, 28 November 2005 by Albie (talk | contribs) (added categories)

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-
}

Also See

  • $cmdline