Skip to content
MSN Addons

counter

A TG007 community discussion started by samooh_2003.

Discussion 7 posts
Page 1 of 1
Open
Topic #4294 · 7 published posts · 861 views

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 :)
 }
}

Edited Aug 2, 2005 5:32 AM by Nimbus03

"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

Edited Aug 2, 2005 5:33 AM by samooh_2003

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