Project

General

Profile

Added in 1.9.0

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

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

Switches

-n - Makes the script trigger immediately.

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 1 year ago · 2 revisions

Also available in: PDF HTML TXT