login proggy -_- not working - 08/01/03 03:04 AM
ok i made this script -
this script works now i just want this one to work with it -
idk whats wrong with the login one its really irtating me -_-
:tongue:
Code:
on *:text:register*:?: { var %register = $read(register.txt) if (!$2) { notice $nick Error: Please specify your password. notice $nick Usage: regsiter <password> notice $nick Notice: You must use this nick when you come back to this server. } elseif ($nick isin %register) { notice $nick Error: Nick all ready registered please pick another nick. notice $nick Usage: register <password> } elseif ($nick !isin %register) { write register.txt $nick $2 notice $nick Thank you for registering. notice $nick Notice: Your password is $2 remember this for later use. notice $nick Notice: To login type: /msg $me login <password> } }
this script works now i just want this one to work with it -
Code:
on *:text:login*:?: { var %register = $read(registered.txt) var %online = $read(online.txt) if (!$2) { notice $nick Error: Please specify your password. notice $nick Usage: login <password> } elseif ($nick isin %register) && ($2 isin %register) { write %online $nick notice $nick Welcome back $nick $+ . notice $nick Please idel in #FutureWeb } elseif ($nick !isin %register) && ($2 !isin %register) { notice $nick Error: Nickname or password incorect. notice $nick Usage: login <password> } }
idk whats wrong with the login one its really irtating me -_-
:tongue: