Project

General

Profile

Signal » History » Version 1

Per Amundsen, 02/14/2014 08:47 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*/signal [-n] <name> [parameters]*
4
5
Trigger on SIGNAL events in all scripts that listen for signals.
6
7
*Switches*
8
9
-n - TODO
10
11
*Parameters*
12
13
<name> - Signal to trigger.
14
[parameters] - Parameters to send to the signal.
15
16
*Example*
17
18
<pre>
19
;Setup a listening SIGNAL event.
20
on *:SIGNAL:testsignal:echo -a Signal was called with parameters: $1-
21
22
;Call the testsignal with parameters Hello world!
23
/signal testsignal Hello world!
24
</pre>