From WikiChip
On Signal - Events - mIRC
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The ON SIGNAL event triggers after a call to the /signal command. This is a mechanism used to signal events in multiple script at the same time
You can use $signal to refer to the name of signal triggering the event and you can use $1- to refer to the parameters passed to /signal
Synopsis
ON <level>:signal:<matchtext>:<commands>
Parameters
<level>The level for the event to trigger.
<matchtext>The matchtext for the event to trigger.
<commands>The commands to be performed when the event listener's criteria is met.
Example
ON *:signal:*:echo -s $signal -- $1-
Compatibility
Added: mIRC v6.0
Added on: 03 Feb 2002
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.