Project

General

Profile

Actions

Added in 1.9.0

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

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

Switches

Switch Description
-n Makes the script trigger immediately.

Parameters

Parameter Description
<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 · 3 revisions

Also available in: PDF HTML TXT