blah type /whois and enjoy.
raw 311:*:{
/echo -a 4[---+-12 $time $+ : $+ Beginning Of Whois List 4-+---]
/echo -a 4[---+-12 $time $+ : $1- 4-+---]
}
raw 319:*:{
/echo -a 4[---+-12 $time $+ : $1- 4-+---]
}
raw 312:*:{
/echo -a 4[---+-12 $time $+ : Server: $1- -+---]
}
raw 307:*:{
/echo -a 4[---+-12 $time $+ : $1- 4-+---]
}
raw 317:*:{
/echo -a 4[---+-12 $time $+ : $1- -+---]
}
raw 318:*:{
/echo -a 4[---+-12 $time $+ : $+ End Of Whois List 4-+---]
}
Yes, which is why using /debug can be so helpful, so you can allow for different events on different servers. Plus, I wouldn't use $1- for the results either. Too messy imho. One other thing, I would of used haltdef in there as well.
Using RAW 311 for example, you can use it grab a few different things at once to display to your window:
RAW 311:*:{
haltdef
echo -a Start of /Whois $2
echo -a Ident: $3
echo -a HostMask: $4
echo -a Real name: $6-
}
Hope this helps somehow : )
You can use this as a starting point:
raw 311:*:echowho Beginning Of Whois List | echowho $2 is $+($3,@,$4) $5-
raw 312:*:echowho Server: $3-
raw 317:*:echowho sighed on: $asctime($4) idle: $duration($3)
raw 318:*:echowho End Of Whois List
raw 319:*:echowho Channels: $3-
raw *:*:if $istok(301 307 310 313 320 335 378 379,$numeric,32) { echowho $2- }
alias echowho haltdef | echo -aci11 whois $+([,$time,]) $1-