hallo , i need help when my IRC disconnected to do this :
connect to the last IRC server then
1- /nick <nick>
2- /msg
x@channels.undernet.org login username password
3- /mode <nick> +x
4- /nick <newnick>
5- /join #channel1 #channel2 #channel3
Thank You
Please help me i need this command to my Script
I am not sure what you are asking
On 1:Disconnect:{
server $server -i jonyx -j #channel1,#channel2,#channel3
}
On 1:Connect:{
msg x@channels.undernet.org login username password
mode $me +x
}
you may want to use it without $server part, as this is a virtual name, and can differ from its actual host name.
server -i jonyx -j #channel1,#channel2,#channel3
edit:
putting passwords in perform//scripts is not very secure.
on disconnect event server returns the server you was connected to if i understend him right he wants on disconnect reconect and perform thoes commands if it is so
$server is recomend.
you misunderstand, servername and hostname are two different things, although they *may* be the same.
try connecting to port80a.se.quakenet.org which is a quakenet server, you will see it does not resolve. then connect to its ip 217.75.98.138.
Look sory my english is not so good but i dont see any reason for this discusion. i am only teling you on disconnect
event you can use $server to reconect to the server your was discconect for for more info /help on discconect
What he's trying to say is that $server won't always let you reconnect to the server you were on, but /server without specifying a server name will always work.
well like i say it before i dont see any reason still discusion about this you can private msg me if you want somthing.. and read /help on discconect then you will realise $server returns always the right one
Options > Connect > Options .. Reconnect on disconnection
the undernet login procedure is scripted on
This Website
indeed, mirc can already reconnect, no need for any script for that.
im glad at least someone understands what i been saying about this /server $server thing.
to get back on the first post, i think McFish wants something like this:
connect with (random) nick
set usermodes i and x
login with X and get fake host
change nick and join channels