Jump to content

onjoin help


W_A_A_S

Recommended Posts

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 by xRhysx
Link to comment
Share on other sites

  • 1 month later...
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 by tidy trax
Link to comment
Share on other sites

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 wink.gif

 

us3rX ph34r.gif

Link to comment
Share on other sites

(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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...