Edit: If you want to know the raw event # for something type "/debug @debug" then do whatever to trigger the raw... aka whois a user , join a channel etc.
You could also use:
Raw <numeric>:<matchtext>:<commands>
Raw *:*: {
echo -a In Raw Numeric $numeric you can use $($1,0) to $($,0) $+ $0
}
The above isn't really necessary all you really need it to do is echo the $numeric. The above returns the number of space delimited lines in the $1- string.
For example, you'll get the following if you type an Unknown Command.
In Raw Numeric 421 you can use $1 to $4.
And instantly we know we can use:
Raw 421:*: {
$1 $2 $3 $4
}
Or..
But not $5.