mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2007
Posts: 40
Q
Ameglian cow
OP Offline
Ameglian cow
Q
Joined: Jun 2007
Posts: 40
How do i get a script to rejoin a channel only AFTER i identify for my nick? I have the join channel part written AFTER the identify part, but it is often not fast enough as there is usually a small delay when identifying the nick.

/msg nickserv identify [password]
/join #channel

This doesn't work all the time unfortunately.

Joined: Oct 2016
Posts: 7
L
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
L
Joined: Oct 2016
Posts: 7
There is alreay an auto join command.

To add a channel to your auto command try:

Code:
/msg NickServ AJOIN ADD #channel


To add a channel that uses a key try:

Code:
/msg NickServ AJOIN ADD #channel key


To add all the channels you currently are try:

Code:
/msg NickServ AJOIN ADDALL


To see the complete list on your autojoin try:

Code:
/msg NickServ AJOIN LIST


To remove a channel try:

Code:
/msg NickServ AJOIN DEL #channel


To delete all your channels on autojoin try:

Code:
/msg NickServ AJOIN CLEAR

Joined: Jun 2007
Posts: 40
Q
Ameglian cow
OP Offline
Ameglian cow
Q
Joined: Jun 2007
Posts: 40
You misunderstand, im talking about making the perform on connect script do the join commands only AFTER i have identified my nick.

Joined: Feb 2015
Posts: 243
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Feb 2015
Posts: 243
Hey try usin this script!
Code:
ON *:CONNECT: {
var %nick = <input nick here>
nick %nick
ns identify password
set %whoistry 1
whois $me $me
}

raw *:*: {
if ($numeric == 307) {
if ($1 == $2) {
join #chan,#chan2
unset %whoistry
}
}
if ($numeric == 433) {
ns release %nick password
set %idnickretry 1
nick %nick
}
}

ON *:NICK: {
if ($newnick == $me) {
if (%idnickretry) {
if ($me == %nick) {
whois $me $me
unset %idnickretry
}
}
}
}

Replace <input nick here> with your desired nick
Replace password with your password
I made it so it checks if you are identified by whoising you.
Also if the nick is used it will try to release it.

Last edited by OrFeAsGr; 02/01/17 01:36 AM.

Link Copied to Clipboard