mIRC Home    About    Download    Register    News    Help

Print Thread
#89900 10/07/04 08:59 AM
Joined: Apr 2004
Posts: 18
M
McFish Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Apr 2004
Posts: 18
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

#89901 10/07/04 11:02 AM
Joined: Mar 2004
Posts: 130
T
Vogon poet
Offline
Vogon poet
T
Joined: Mar 2004
Posts: 130
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
}


#89902 10/07/04 11:55 AM
Joined: May 2004
Posts: 95
W
Babel fish
Offline
Babel fish
W
Joined: May 2004
Posts: 95
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.

#89903 10/07/04 11:59 AM
Joined: Mar 2004
Posts: 130
T
Vogon poet
Offline
Vogon poet
T
Joined: Mar 2004
Posts: 130
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.

#89904 10/07/04 12:05 PM
Joined: May 2004
Posts: 95
W
Babel fish
Offline
Babel fish
W
Joined: May 2004
Posts: 95
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.

#89905 10/07/04 12:13 PM
Joined: Mar 2004
Posts: 130
T
Vogon poet
Offline
Vogon poet
T
Joined: Mar 2004
Posts: 130
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

#89906 10/07/04 03:49 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
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.


New username: hixxy
#89907 10/07/04 04:38 PM
Joined: Mar 2004
Posts: 130
T
Vogon poet
Offline
Vogon poet
T
Joined: Mar 2004
Posts: 130
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

#89908 10/07/04 04:47 PM
Joined: Jun 2003
Posts: 994
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
Options > Connect > Options .. Reconnect on disconnection

the undernet login procedure is scripted on This Website


I refuse to engage in a battle of wits with an unarmed person. wink
#89909 10/07/04 05:47 PM
Joined: May 2004
Posts: 95
W
Babel fish
Offline
Babel fish
W
Joined: May 2004
Posts: 95
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


Link Copied to Clipboard