$event: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
Daveoh (talk | contribs)
No edit summary
 
Daveoh (talk | contribs)
mNo edit summary
 
Line 5: Line 5:
== Example ==
== Example ==


  on *:TEXT:*:#:[[echo]] -sg [[$nick]] said $1- in a $event event.
  [[on text|on *:TEXT:*:#:]][[echo]] -sg [[$nick]] said $1- in a $event event.
Echoes what the user said "in a text event." to the status window.
Echoes what the user said "in a text event." to the status window.



Latest revision as of 22:48, 10 April 2008

Returns the name of the event that was triggered.

$event
  • This function has no parameters.

Example

on *:TEXT:*:#:echo -sg $nick said $1- in a $event event.

Echoes what the user said "in a text event." to the status window.

See Also