The "on start" event sets the autologin, username and password:
on *:start: {
set %autologin $$input(ENTER : yes or no,eo,ACTIVATE AUTOLOGIN FOR UNDERNET :,yes)
if (%autologin == yes) set %username $$input(username1 username2 username3,eo,ENTER YOUR USERNAME : )
if ((%autologin == yes) && (%username != $null )) set %xpwd [ [ $+(%,%username,pwd) ] ]
}
Create a perform for Undernet and insert this command :
if ((%autologin == yes) && (%username != $null )) .msg
x@channels.undernet.org login %username $decode(%xpwd)
To reset variables :
on *:quit: unset %autologin %username %xpwd
One time input:
Set manually your password for each username:
//set %username1pwd $encode(password)
//set %username2pwd $encode(password)
//set %username3pwd $encode(password)
you only have to change username1, ...2 and ...3 to your usernames.
Hope it will help
gemeau50