I am trying to make the following script:
When i press connect i will connetct 2 times (2 servers, same or different) and join some rooms.
I have done this so far:
/set %n=0
ON *:CONNECT:{
if (%n = 0) {
nick nick1
identify pass1
join #roomA1,#roomA2,#roomA3....
}
/set %n=1
server -m server2
nick nick2
identify pass2
join #roomB1,#roomB2,#roomB3....
}
Of course, this doesn't work
I would appreciate any help!
Two problems i encountered are:1. When i press connect it starts open new server windows and it never stops
2. When it changes the nickname on server2 its changes and on server1
I have read and putted the /set %n command to fix this but now it doesn't work at all