mIRC Homepage
Posted By: McFish When Disconnected - 10/07/04 08:59 AM
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
Posted By: tsoglanos Re: When Disconnected - 10/07/04 11:02 AM
I am not sure what you are asking

Code:
  
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
}

Posted By: wiebe Re: When Disconnected - 10/07/04 11:55 AM
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.
Posted By: tsoglanos Re: When Disconnected - 10/07/04 11:59 AM
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.
Posted By: wiebe Re: When Disconnected - 10/07/04 12:05 PM
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.
Posted By: tsoglanos Re: When Disconnected - 10/07/04 12:13 PM
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
Posted By: tidy_trax Re: When Disconnected - 10/07/04 03:49 PM
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.
Posted By: tsoglanos Re: When Disconnected - 10/07/04 04:38 PM
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
Posted By: CtrlAltDel Re: When Disconnected - 10/07/04 04:47 PM
Options > Connect > Options .. Reconnect on disconnection

the undernet login procedure is scripted on This Website
Posted By: wiebe re: McFish - 10/07/04 05:47 PM
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
© mIRC Discussion Forums