$chan (remote): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
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 07: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.