on *:TEXT:!status*:*:{
If ($1) {
echo - Put command's in here, the parameter is filled and the command was requested by $nick
}
}
let's see, the event will trigger if the text starts with !status, so $0 >= 1 in the event, so the $1 parameter exists all the time(!status is actually $1), but it can also be !statuswhateverwewanthere, but it doesn't matter, the point is that the if ( $1 ) is totally useless statement
on *:TEXT:!status *:*:{
If ($2) {
set %status.whois %status.whois $2
set $+(%,status.,$2) $nick
whois $2
enable #!statuswhois
}
}
#!statuswhois off
raw 313:*: {
if ( $2 isin %status.whois ) {
%status.whois = $remtok(%status.whois,$2,32)
if ( !%status.whois ) disable #!statuswhois
msg $eval($+(%,status.,$2),2) $2 is IRCop
}
}
#!statuswhois end
I'd use something like this.... This isn't tested of course, but it should work...