Does anyone have a script for Hybrid Omega that allows for kicking folks for talking in the cups?
I've seen a couple that give 3 warnings then a boot, but unfortunately they didn't want to share.
Thanks
Milady_Silvermoon
A TG007 community discussion started by Silvermoon.
Does anyone have a script for Hybrid Omega that allows for kicking folks for talking in the cups?
I've seen a couple that give 3 warnings then a boot, but unfortunately they didn't want to share.
Thanks
Milady_Silvermoon
raw 821:*: ruser cup $nick
raw 822:*: auser cup $nick
on cup:PART:#: { ruser cup $nick | unset %cup. [ $+ [ $nick ] ] }
on cup:KICK:#: { ruser cup $nick | unset %cup. [ $+ [ $nick ] ] }
on @cup:TEXT:*:#: {
inc -u3000 %cup. [ $+ [ $nick ] ]
if (%cup. [ $+ [ $nick ] ] == 1) msg $chan Please remove your cup before speaking [First Warning]
elseif (%cup. [ $+ [ $nick ] ] == 2) msg $chan You have been asked to remove your cup before speaking, pelase do so [Second Warning]
else { access $chan add deny $address 60 :Cup Talker | kick $chan $nick You have been warned, no talking while in cup }
}
not exactly sure if this will work, but it should
just fixing the spelling error........alot of people wont notice untill they done added it
raw 821:*: ruser cup $nick
raw 822:*: auser cup $nick
on cup:PART:#: { ruser cup $nick | unset %cup. [ $+ [ $nick ] ] }
on cup:KICK:#: { ruser cup $nick | unset %cup. [ $+ [ $nick ] ] }
on @cup:TEXT:*:#: {
inc -u3000 %cup. [ $+ [ $nick ] ]
if (%cup. [ $+ [ $nick ] ] == 1) msg $chan Please remove your cup before speaking [First Warning]
elseif (%cup. [ $+ [ $nick ] ] == 2) msg $chan You have been asked to remove your cup before speaking, please do so [Second Warning]
else { access $chan add deny $address 60 :Cup Talker | kick $chan $nick You have been warned, no talking while in cup }
}
on *:join:#:{
if ($nick != $me) { unset %cup. [ $+ [ $nick ] ] }
else {
unset %cup.*
var %i = 1
while (%i <= $nick(#,0)) { .timerwho $+ %i 1 %i whois $nick(#,%i) | inc %i }
}
}
raw 821:*:{ unset %cup. [ $+ [ $nick ] ] }
raw 822:*:{ set %cup. [ $+ [ $nick ] ] 0 }
raw 301:*:{ if ($3 == away) set %cup. [ $+ [ $2 ] ] 0 }
on *:text:*:#:
if ($nick isop $active) halt
if (%cup. [ $+ [ $nick ] ] != $null) inc %cup. [ $+ [ $nick ] ]
if (%cup. [ $+ [ $nick ] ] == 1) {
/ctcpreply $nick TIME ? 8-) $nick dont talk from your (C) YOU WILL BE BANNED 8-) }
if ($nick isop $active) halt
if (%cup. [ $+ [ $nick ] ] == 2) {
/ctcpreply $nick TIME ? *-) Last warning $nick dont talk from your (C) *-) }
if (%cup. [ $+ [ $nick ] ] >= 3) {
access $active ADD DENY $address 1
kick # $nick :[ You was warned $nick [1 m|n baN] :[ }
}
Now thats another one that I use......
Sign in to reply or start a new topic where your account has permission.