Project

General

Profile

Actions

On SIGNAL » History » Revision 3

« Previous | Revision 3/5 (diff) | Next »
Per Amundsen, 02/24/2017 09:37 PM


Added in 1.9.0

on <level>:SIGNAL:<name/matchtext>:<commands>

Triggers if a script has used the /signal command to send a signal to all scripts.

See also /signal, $signal.

Parameters

<level> - The User Access Level for the event to trigger.
<name/matchtext> - The signal name/matchtext to listen to.
<commands> - The commands to be performed when the event listener's criteria is met.

Example

; Listen to the signal name 'test'.
on *:SGNAL:test:echo -ag Signal $signal was called with parameters $1-

; Call the signal 'test' with the text 'Hello world'
/signal test Hello world

Updated by Per Amundsen over 7 years ago · 3 revisions

Also available in: PDF HTML TXT