Difference between revisions of "$cmdbox"
From Scriptwiki
m (added categories) |
m (removed See Also and Aliases category) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
Returns $true if a command or script was initiated via the command editbox in a channel window. | Returns $true if a command or script was initiated via the command editbox in a channel window. | ||
$cmdbox | $cmdbox | ||
+ | * This function has no parameters. | ||
== Example == | == Example == | ||
[[alias]] whois { | [[alias]] whois { | ||
Line 7: | Line 8: | ||
!whois $$1- | !whois $$1- | ||
} | } | ||
− | |||
− | |||
− | [[Category: | + | [[Category:Other Identifiers]] |
Latest revision as of 17:29, 29 November 2009
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- }