W_A_A_S Posted February 12, 2005 Report Share Posted February 12, 2005 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 Link to comment Share on other sites More sharing options...
Rhys Posted February 14, 2005 Report Share Posted February 14, 2005 (edited) 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) } Edited February 14, 2005 by xRhysx Link to comment Share on other sites More sharing options...
tidy trax Posted April 8, 2005 Report Share Posted April 8, 2005 (edited) 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) } } Edited April 8, 2005 by tidy trax Link to comment Share on other sites More sharing options...
us3rX Posted April 8, 2005 Report Share Posted April 8, 2005 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 Link to comment Share on other sites More sharing options...
Cleric xtx Posted April 9, 2005 Report Share Posted April 9, 2005 (Tye's) Ftr, if someone leaves the room (kick, quit, etc) wouldn't the room limit need to go down instead of up? Link to comment Share on other sites More sharing options...
tidy trax Posted April 9, 2005 Report Share Posted April 9, 2005 (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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now