Project

General

Profile

Signal » History » Revision 2

Revision 1 (Per Amundsen, 02/14/2014 08:47 PM) → Revision 2/3 (Per Amundsen, 06/27/2016 05:03 PM)

_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. TODO 

 *Parameters* 

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

 *Example* 

 <pre> 
 ;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! 
 </pre>