$signal » History » Version 1
Per Amundsen, 08/15/2015 09:55 PM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | *$signal* |
||
4 | |||
5 | Returns the name of the [[/signal]] during a [[on SIGNAL]] [[Scripting_Events|event]]. |
||
6 | |||
7 | *Example* |
||
8 | |||
9 | <pre> |
||
10 | ; Listen for SIGNAL events. |
||
11 | on *:SIGNAL:*:{ |
||
12 | echo -ag Name of the signal is $signal parameters for the signal is: $1- |
||
13 | } |
||
14 | |||
15 | ; Execute a signal. |
||
16 | /signal Example Hello World |
||
17 | </pre> |