how can i make counter for hosts in da room like just for 4 hosts then no one can be host
A TG007 community discussion started by samooh_2003.
how can i make counter for hosts in da room like just for 4 hosts then no one can be host
on *:OWNER:#:{
if (!%1op) && (!%2op) && (!%3op) && (!%4op) { set %1op $true }
if (%1op) && (!%2op) && (!%3op) && (!%4op) { set %2op $true | unset %1op }
if (!%1op) && (%2op) && (!%3op) && (!%4op) { set %3op $true | unset %2op }
if (!%1op) && (!%2op) && (%3op) && (!%4op) { set %4op $true | unset %3op }
if (!%1op) && (!%2op) && (!%3op) && (%4op) { mode $chan -o $opnick }
}
on *:OP:#:{
if (!%1op) && (!%2op) && (!%3op) && (!%4op) { set %1op $true }
if (%1op) && (!%2op) && (!%3op) && (!%4op) { set %2op $true | unset %1op }
if (!%1op) && (%2op) && (!%3op) && (!%4op) { set %3op $true | unset %2op }
if (!%1op) && (!%2op) && (%3op) && (!%4op) { set %4op $true | unset %3op }
if (!%1op) && (!%2op) && (!%3op) && (%4op) { mode $chan -o $opnick }
}
umm i canot host any one with that code Warrior124 not over than 4
on *:RAWMODE:*: {
 if ($1 == +o) && ($nick(#,0,o) > 4) {
  mode # -o $2
  .msg # sorry only 4 hosts allowed in this room :)
 }
}
"the important thing was, that i had an onion on my belt, which was the style at the time"
thnx Nimbus03 its working u always help me in with good short codes t& thnx 4 warrior good luck next time
it's no problem, glad to help
i dunno if you noticed but i edited that code a bit, i changed the == 5 bit to > 4, sorry about that
"the important thing was, that i had an onion on my belt, which was the style at the time"
yea man i noticed it thnx alot 4 ur helping u and warrior
Sign in to reply or start a new topic where your account has permission.