When you have to add this snippet to script copy/paste my snippet in notpad and add in your script.
raw 301:*: {
haltdef
echo -a 12-=4 $2 Away: $3-
}
raw 307:*: {
haltdef
echo -a 12-=4 $2 Register Nick
}
raw 310:*: {
haltdef
echo -a 12-=4$2 Is Irc Helper
}
raw 311:*:{
haltdef
echo -s 4*12*4*12*4*12*4*12* 4*12*4*12*4*12*4*12*
echo -a 12-= 4whois for: $2
echo -a 12-= 4Name: $6-
echo -a 12-= 4Ip Adress: $3 $+ 4 $+ @ $+ 15 $+ $4 ( $+ 4 $+ $wcc($3 $+ @ $+ $4) $+ )
}
raw 312:*:{
haltdef
echo -a 12-= 4Server: $3
}
raw 313:*: {
haltdef
echo -a 12-=4$2 E $5 $6 $7 $8 $9
if (%ircopzvuk = on) { .splay $mircdir\sounds\ircop.wav }
}
raw 314:*:{
haltdef
echo -a -
echo -a - 4*12*4*12*4*12*4*12* 4*12*4*12*4*12*4*12*
echo -a 12-= 4whowas for: $2
echo -a 12-= 4Name: $6-
echo -a 12-= 4Ip Adress: $3 $+ 4$+ @ $+ 1 $+ $4
}
raw 317:*:{
haltdef
echo -a 12-= 4Idle Time:4 $duration($3)
echo -a 12-= 4Signed On:4 $asctime($4,dddd dd/mm/yyyy HH:nn:ss) 4- Vreme online: $duration($calc($ctime - $4))
}
raw 318:*:{
haltdef
echo -a 12-=4 End Of Whois For $2
echo -a -
echo -a 4*12*4*12*4*12*4*12* 4*12*4*12*4*12*4*12*
}
raw 319:*:{
haltdef
echo -a 12-= 4Channels: $3-
}
raw 330:*: {
haltdef
echo -a 12-= 4AuthName: $3
}
raw 338:*:{
haltdef
echo -a 12-= 4 Real Hostmask:$3
echo -a 12-= 4 Real IP:$4
}
raw 369:*:{
haltdef
echo -a 12-=4 End Of Whois For $2
}
raw 401:*:{
haltdef
echo -a 12-= nick " $+ $2 $+ " 4 not online!
}
raw 406:*:{
haltdef
echo -a 12-=4 nick " $+ $2 $+ " has 4 NOT been online recently.
}
raw 402:*:{
echo -a $cxs(3) $+ $+ %xsbrack $+ $cxs(1) $2 $+ $cxs(2) $+ nema takov nick-a | halt
}
Where is the benefit of using one event and conditions?
If you use one event for *, mIRC has to execute the code for every raw, regardless if it\'s for a /whois or /list or whatever, which can throw away quite some performance. With more events, mIRC does these conditions in its own code instead of script, which is much faster.