$cmdbox

From Scriptwiki
Revision as of 23:54, 27 November 2005 by Albie (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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