$target: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
No edit summary
 
(No difference)

Latest revision as of 15:37, 16 December 2005

Returns the name of the target for a specific event.

$target

It takes no parameters.

on *:text:hello:*: { msg $target $nick Hello $nick $+ ! }

If a user said hello in a channel, this would message the channel, if a user private messaged you, it would private message them back. It would also trigger in DCC Chats and File Serve.

See Also