mIRC Home    About    Download    Register    News    Help

Print Thread
#11190 15/02/03 07:57 AM
Joined: Feb 2003
Posts: 6
G
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
G
Joined: Feb 2003
Posts: 6
Well, I use to have this code,but lost it. It was a redirect kicke.
I want to use this because I have a channel and I want all the people to be redirected to another channel (The New One) when they join. I also want to put a custom message.
Can anyone h3lp meh? smile
GC~

Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
well you could do this:

on 1*:JOIN:#Channel:/mode $chan +b $nick | /kick $chan $nick | /notice $nick Please Join #NewChannel
}


Well This will ban the user upon entry and them kicking him/her and sending them a notice to join the new channel. I think this works you will have to double check to make sure.

Joined: Feb 2003
Posts: 76
G
Babel fish
Offline
Babel fish
G
Joined: Feb 2003
Posts: 76
Hm... That's nice The_Game, but it would be better not to kick so analyse it a bit:

Remotes:
on *:JOIN:#channel: {
;ban:
mode $chan +b $nick
;kick:
kick $chan $nick <Your message here>
;send notice:
notice $nick Join #the_other_channel cause $chan is closed.
;send invite:
invite $nick #the_other_channel
}

Combine these as you like to have the desired result. smirk

Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
Well you could just close off that room and put in the topic put "We have moved go to this room instead" so when someone checks the channel list and they look up that channel they know. Otherwise you would have to kick them (and i added the ban there just in case that user has rejoin after kick enabled) If there is a better way then yes I would like to hear that myself also you could throw in the invite rather than the notice...Unlike most people I tend to find a simpler means of doing something and what works is good enough for me. laugh

Joined: Dec 2002
Posts: 191
N
Vogon poet
Offline
Vogon poet
N
Joined: Dec 2002
Posts: 191
You could always use mode l to limit the number of ppl that can join the first channel and also L to divert them to the other channel once the first channels limit has been met.

Joined: Dec 2002
Posts: 83
A
Babel fish
Offline
Babel fish
A
Joined: Dec 2002
Posts: 83
+L is not a mode on many ircd's. I've only seen it on Unrealircd.

Joined: Dec 2002
Posts: 191
N
Vogon poet
Offline
Vogon poet
N
Joined: Dec 2002
Posts: 191
Had posted that after looking in the status window at the 005 raw after connecting to dalnet and saw CHANMODES=b,k,l,ciLmMnOprRst are available on this server and hadn't tried to set +L.

Joined: Dec 2002
Posts: 395
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2002
Posts: 395
Nope, +L is a different mode on DALnet.

From bahamut's (1.6) config.h :

Code:
/*
 * LIST_FILTER
 * filter /list.. waiting for the services support..
 */


Link Copied to Clipboard