Project

General

Profile

Actions

Signal » History » Revision 1

Revision 1/3 | Next »
Per Amundsen, 02/14/2014 08:47 PM


Added in 1.9.0

/signal [-n] <name> [parameters]

Trigger on SIGNAL events in all scripts that listen for signals.

Switches

-n - TODO

Parameters

<name> - Signal to trigger.
[parameters] - Parameters to send to the signal.

Example

;Setup a listening SIGNAL event.
on *:SIGNAL:testsignal:echo -a Signal was called with parameters: $1-

;Call the testsignal with parameters Hello world!
/signal testsignal Hello world!

Updated by Per Amundsen about 10 years ago · 1 revisions

Also available in: PDF HTML TXT