mIRC Home    About    Download    Register    News    Help

Print Thread
Rejoin on kick does not work when kicking yourself #240051 19/12/12 04:24 AM
Joined: Feb 2011
Posts: 315
K
KindOne Offline OP
Fjord artisan
OP Offline
Fjord artisan
K
Joined: Feb 2011
Posts: 315
ALT+O -> IRC -> [check] rejoin channel when kicked -> OK

Now kick yourself from a channel.

Code:
//kick $chan $me Will not rejoin since I am kicking myself.


irc.swiftirc.net #msl (mIRC Scripting Language)
Re: Rejoin on kick does not work when kicking yourself [Re: KindOne] #240053 19/12/12 06:44 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
if i remeber right mirc have been like this for a long time, so i guess it should work like that.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: Rejoin on kick does not work when kicking yourself [Re: sparta] #240055 19/12/12 11:28 AM
Joined: Nov 2009
Posts: 295
P
pball Offline
Fjord artisan
Offline
Fjord artisan
P
Joined: Nov 2009
Posts: 295
I actually just noticed this the other day and thought it to be kinda weird. Not that I have strong feelings one way or another. As I don't kick myself often, lol.


http://scripting.pball.win
My personal site with some scripts I've released.
Re: Rejoin on kick does not work when kicking yourself [Re: KindOne] #240057 19/12/12 07:51 PM
Joined: Oct 2004
Posts: 8,327
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,327
My guess is that mIRC assumes that if you kick yourself, you want to leave so it doesn't rejoin. It's kind of a gray area and different people would want it to go different ways. Some people kick themselves for fun and want to rejoin immediately. Others kick themselves when they want to part the channel and so they don't want to rejoin even though they would want to rejoin if someone else kicked them. Personally, I don't see the need to kick yourself, but that's just me. I'm not sure which would be more popular and as this has probably been like this all along, I don't think it should really be changed without a good reason for doing so.


Invision Support
#Invision on irc.irchighway.net
Re: Rejoin on kick does not work when kicking yourself [Re: KindOne] #240063 20/12/12 11:13 PM
Joined: Dec 2012
Posts: 11
D
DM__ Offline
Pikka bird
Offline
Pikka bird
D
Joined: Dec 2012
Posts: 11
Originally Posted By: KindOne
ALT+O -> IRC -> [check] rejoin channel when kicked -> OK

Now kick yourself from a channel.

Code:
//kick $chan $me Will not rejoin since I am kicking myself.


Add those lines to your remote.ini

Code:
on *:kick:#:{
  if ($knick == $me) { join # }
}


Problem solved grin