hi
i am running a irc channel with mirc
but i wanne make a onjoin message and within that somethign to change the room limit go +1 when somebody joins and -1 when somebody parts.
who can help me?
-= { yes i know its a noob qeustion } =-
grrtz me
A TG007 community discussion started by W_A_A_S.
hi
i am running a irc channel with mirc
but i wanne make a onjoin message and within that somethign to change the room limit go +1 when somebody joins and -1 when somebody parts.
who can help me?
-= { yes i know its a noob qeustion } =-
grrtz me
i don't get what you mean with the on join message, but to set one, you would type:
/prop #channel ONJOIN message
for the dynamic room limit, try this.
on *:join:#channel:{
mode # +l $calc($nick(#,0) + 1)
}
on *:part:#channel:{
mode # +l $calc($nick(#,0) - 1)
}
on @*:join:#:{ mode $chan +l $calc($nick($chan,0) + 1) }
on @!*:part:#:{ mode $chan +l $calc($nick($chan,0) + 1) }
on !*:quit:{
var %i = 1
while ($comchan($nick,%i)) {
if ($comchan($nick,%i).op) { mode $comchan($nick,%i) +l $calc($nick($comchan($nick,%i),0) + 1) }
inc %i
}
}
on @*:kick:#:{
if ($knick != $me) { mode $chan +l $calc($nick($chan,0) + 1) }
}
i don't get what you mean with the on join message, but to set one, you would type:/prop #channel ONJOIN message
for the dynamic room limit, try this.
on *:join:#channel:{ mode # +l $calc($nick(#,0) + 1) } on *:part:#channel:{ mode # +l $calc($nick(#,0) - 1) }
Just so you know... /prop doesnt work on IRCD thats an IRCX command
us3rX
(Tye's)
Ftr, if someone leaves the room (kick, quit, etc) wouldn't the room limit need to go down instead of up?
(Tye's)Ftr, if someone leaves the room (kick, quit, etc) wouldn't the room limit need to go down instead of up?
It does go down.
It sets the channel limit to <number of users> + 1, that is still going down as a user has just left.
Sign in to reply or start a new topic where your account has permission.