ive writen this script to auto login on x when i connect to undernet
auto login
.auto login On:{
%auserid = $$input(Enter Userid,1)
%apass = $$input(Enter Password? for %auserid ,2)
%login = on
if ($$input(Please type password again to confirm:,2) !=== %apass) {
%b Passwords DONOT match. You must enter the same pass each time
unset %a*
}
elseif (%login == on) {
%b Added ( $+ %auserid $+ ) to Auto Login List
}
}
.auto login Off:{
if ( %login == on ) {
%login = off
echo 2 12•2•1• 4 %auserid has been deleted from the auto login list
unset %a*
elseif ( %login == $null ) {
%b No Auto Login set
}
}
}

and i have an on connect event in the remotes, which checks if %login = on and it logs in . but this is only good for one user as the id and pass are saved in variables, how can i adjust this to make it rem more then one id, and also can i use $encode here to encode the pass?