mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2008
Posts: 10
D
Daimie Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Sep 2008
Posts: 10
Greetings,

Under 'Tools - Options - IRC' there's the "rejoin channels on connect" setting but currently it does not try to rejoin channels more than once.

For example if you get a "channel is temporarily unavailable" message after a server crash (which lasts for a few seconds/minutes) mirc fails to rejoin the channels due to the lack of retries.

Can this be fixed? Thanks.


Also, if someone has a temporary solution for this problem (e.g. a script) feel free to post it here.

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
mIRC is not broken, so there's nothing to "fix". In any case, a good "workaround" would be:

Code:
on *:CONNECT:.timerMYCHAN 1 0 15 join #mychan
on me:*:JOIN:.timerMYCHAN off


mIRC doesn't really need this behaviour builtin since its far more easily scriptable and is kind of a very niche behaviour. What if someone wanted this same thing for invite only channels but NOT temporarily unavail. ones, for instance? What if someone wanted the retry time to be 2 minutes, not 15 seconds? There's simply too much config that can easily be handled by ~2 lines of script.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Jul 2006
Posts: 4,149
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,149
little mistake :

Quote:
on me:*:JOIN:#:.timerMYCHAN off



#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Sep 2008
Posts: 10
D
Daimie Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Sep 2008
Posts: 10
Thanks for the fast response, going to use the script.

Guess it's up to the developer(s) whether he likes the idea or not smile



Link Copied to Clipboard