Originally Posted by maroon
/help Raw events

This will trap all raw events, followed by the normal display created by them. Once you figure out which one you want, the numeric can replace the 1st asterisk. Note that raw events are slightly different in that their $1- is populated a little differently than TEXT or NOTICE, so expect $1 to be your current nick. The raw text string will also be different than the normal string displayed, so you can't always assume what the raw string will be simply by looking at the status window message you otherwise see.

Code
raw *:*:{ echo 5 -s raw event $numeric -> $1- }



Cheers, i got that to work now... however, is there's a way I can write code into 1 block? i.e.

Code
on CONNECT {
}

on NOTICE {
}

RAW {
}


All into 1 code block? Or that's not possible? As I'd like to keep script all tidy so that I can follow the code easier rather than looking up in CONNECT and code if necessary and then code bit extra under NOTICE and RAW, etc.. wink

Sorry if i'm sound like a n00b but i'm actually not good at scripting - can only do very basic frown