Difference between revisions of "$chan (remote)"
From Scriptwiki
m (added $target to see also) |
|||
Line 13: | Line 13: | ||
== See Also == | == See Also == | ||
− | |||
* [[$active]] | * [[$active]] | ||
+ | * [[$target]] | ||
[[Category:Remote Identifiers]] | [[Category:Remote Identifiers]] |
Revision as of 08:31, 2 July 2007
Returns the name of the channel for a specific event. For all non-channel events $chan will be $null.
$chan
It takes no parameters.
on *:text:hello:#mIRC:{ msg $chan $nick hello, and welcome to $chan $+ ! }
You can also use # to evaluate channel name. Ex:
welcome to $chan welcome to #
would return to same value.