ON JOIN Account
Posted by drakky
Tuesday, August 02, 2005
Description:
This echoes the user's account name in the #support window whenever they join (ex. "nick's account is: accountname"), but if the user isn't on //mode $me +x in whois, it shows the ip/address to me ... and if the user is on //mode $me +x it shows their account. How do I make it so it doesn't show me their ip/address in echo (if they aren't on mode +x) but only show me their AuthServ account instead? I think it has something to do with raw? Help! ;)
-Drakky, GameSurge Trial Staff.
on *:JOIN:#support:{
raw if ($numeric == 330) {
haltdef
echo #support [^K]4»[^K] $nick $+ 's [^B]account[^B] is: [^K]5 $+ $gettok($gettok($address($nick,1),2,64),1,46 $+ [^K]
)
}
}
This echoes the user's account name in the #support window whenever they join (ex. "nick's account is: accountname"), but if the user isn't on //mode $me +x in whois, it shows the ip/address to me ... and if the user is on //mode $me +x it shows their account. How do I make it so it doesn't show me their ip/address in echo (if they aren't on mode +x) but only show me their AuthServ account instead? I think it has something to do with raw? Help! ;)
-Drakky, GameSurge Trial Staff.