IF statement inside the PERFORM - 05/11/11 05:39 PM
Hi,
I want to connect to two different servers. I wish to issue two different nickserv passwords since each server requires a different one.
I have not begun to work on the connecting issue yet. I am just trying to get the password issue setup correctly. Currently it seems that neither nickserv command is executed. Here is what I have in my PERFORM segment:
I have been searching for an answer for the last couple of days. I found the IF statement during the search. I have also read that I should not code my actual password into the script. I do not know how to get around that though.
Any help would be appreciated.
Thanks
Neeva
I want to connect to two different servers. I wish to issue two different nickserv passwords since each server requires a different one.
I have not begun to work on the connecting issue yet. I am just trying to get the password issue setup correctly. Currently it seems that neither nickserv command is executed. Here is what I have in my PERFORM segment:
Code:
//mode $me +x IF ($server == irc.geekshed.net) {/msg nickserv identify password1} IF ($server == irc.ipocalypse.net) {/msg nickserv identify password2}
I have been searching for an answer for the last couple of days. I found the IF statement during the search. I have also read that I should not code my actual password into the script. I do not know how to get around that though.
Any help would be appreciated.
Thanks
Neeva