ON JOIN Account
Posted by drakky
Tuesday, August 02, 2005
Description:


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.
Subject line
Posted by HellRaz0r
Tuesday, January 09, 2007 05:29pm PST
lol hope your scripting has improved since when you posted that cause that script you posted is terrible.

on *:JOIN:#support:{
  var %address $gettok($address($nick,1),1,46)
  if (*.*.gamesurge iswm %address) echo #support $nick $+ 's account is: %address
}

Submit a comment
Oops! You need to login or register before you can post a comment!

ebaum's world