Difference between revisions of "$event"

From Scriptwiki
Jump to: navigation, search
 
m
 
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 00:48, 11 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