$chan (remote)

From Scriptwiki
Revision as of 07:30, 9 September 2005 by Tovrleaf (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns the name of the channel for a specific event. For all non-channel events $chan will be $null.


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.

See Also