Skip to content
MSN

Timer Help

A TG007 community discussion started by redrider.

Discussion 5 posts
Page 1 of 1
Open
Topic #3102 · 5 published posts · 685 views

Hi guys i was wondering i been playing around with putting a spec kicker into my vincula.Now i have it in and it works gr8 but the prob i have is that when someone passport floods my room sometimes my script dcs im suspecting its from the spec kicker casue when i turn it off i can stay forever during any kinda flooding either it being long nicks or emoticions.what i been tring to do is add a timer to halt the check part if say more then 5 nicks join at same time or something along those lines so this is the code im using for the kicker

 

#subkick on

on *:JOIN:#: {

%sn.nick = $nick

%sn.chan = $chan

if ($nick ison $chan) { /ctcp $nick PING }

.timer.undo 1 3 unset %sn.*

}

raw 908:*:{

raw access %sn.chan add deny *! [ $+ [ $ial(%sn.nick $+ *,1).addr ] ]

raw kick %sn.chan %sn.nick Sorry No Specs Allowed (N)

}

#subkick end

 

I was Wondering if someone could explain how id do this thanx in advance for any reply as its gr8ly appreciated

#subkick on
on *:JOIN:#: { 
set -u8 %sn.nick $nick | set -u8 %sn.chan $!chr(37) $!+ $right($chan,-1) | .timersubcheck 1 1 subcheck } 
alias subcheck { if (%sn.nick ison %sn.chan) ctcp $nick PING }
raw 908:*:{ 
raw access %sn.chan add deny *! $+ $ial(%sn.nick $+ *,1).addr 0 : subkick
raw kick %sn.chan %sn.nick Sorry No Specs Allowed (N)
}
#subkick end

 

this is probably the best way to stop it from flooding out, but the problem is that if two or more people join a chat room in 1 go, it will only scan the last person.

thats why its better to put it in the connection itself.. you dont have to flood the server with unnecesary ping replies because it tells you if somebody's a nonsubscriber when they join...

bfush.PNG

yea vex, but the vincula needs to be recoded for that, and exonyte is working on it but i donno when he'll be done.

thanx gate and vex appreciate the help ill give it a try adn let u know how it works out.Sorry it took so long to reply back