$cmdbox

From Scriptwiki
Revision as of 17:29, 29 November 2009 by Daveoh (talk | contribs) (removed See Also and Aliases category)

(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
  • This function has no parameters.

Example

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