mIRC Home    About    Download    Register    News    Help

Print Thread
#161438 07/10/06 12:46 PM
Joined: Nov 2004
Posts: 842
Jigsy Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Nov 2004
Posts: 842
/autojoin does not work the first time around on any IRC servers that are running bewareIRCd. If you disconnect then reconnect to the server then everything will work fine.

I have the delay set to six.

Code:
on *:connect:{
  .autojoin -d6
  if ($chan(0) == 0) {
    if ($network == Woodstock) { join -n #Admin,#Chat,#Help,#Opers,#Services,#Woodstock }
    if ($network == Subsidence) { join -n #Central,#Woodstock }
  }
  if ($network != Woodstock) { .timerwho $+ $ctime 1 30 who * }
}


Quote:

-
[13:22:36] * Jigsy sets mode: +i
-
#Central %Global, %NickServ, %OperServ, @BloodRayne, @ChanServ, @Spirit, @tyler2435 & Jigsy
#Central End of /NAMES list.
-
Cannot join channel (+r)
-


Quote:

[13:22:36] * Now talking in #Central
-
[13:22:36] * Topic is 'We ...


What do you do at the end of the world? Are you busy? Will you save us?
#161439 07/10/06 03:19 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
I believe /autojoin only applies to channels you have set to "Join on connect" in the Favourites interface.

Using a /timer instead would work.

Edit: A possible explanation for it working the second time around is that /autojoin also applies to channels left open during reconnection.

Last edited by Collective; 07/10/06 03:24 PM.
#161440 07/10/06 03:47 PM
Joined: Nov 2004
Posts: 842
Jigsy Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Nov 2004
Posts: 842
On other networks it works fine.


What do you do at the end of the world? Are you busy? Will you save us?
#161441 07/10/06 04:19 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
I got the same behavior on every server I tried, including a couple running BewareIRCd.

/autojoin does not affect /joins executed either in scripts or from the command line, nor, from what I can tell, is it supposed to.

Giving a public network where you can reproduce this would be helpful.

#161442 07/10/06 04:30 PM
Joined: Dec 2002
Posts: 5,420
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,420
The /autojoin command only affects the joining of channels that are set to auto-join in the Channels Folder.


Link Copied to Clipboard