Hello
was wondering if i could get some help on this script. it only warns and kicks when the url is http://urlhere/blah.php* i was trying to make it to where it warns and kicks the person if the url was
http://urlhere/blah.php?ranch=2342 , the numbers on the end change from time to time, and i just cant seem to make it work. Here is the code, if anyone could tell me what is wrong, i would appreciate it
thanks
on *:start: {
hmake flood 100
}
on @*:text:*:#: {
if ($nick !isop #) {
if (*http://urlhere/blah.php* iswm $1-) {
hinc -mu300 flood $+(flood,$nick)
if ($hget(flood,$+(flood,$nick)) == 2) {
msg $chan $nick Space Out Your Ads To Once Every 5 Mins , Next Warning Will Result In A Kick
}
elseif ($hget(flood,$+(flood,$nick)) >= 3) {
kick $chan $nick Please Remember To Space Out Your Ads To Once Every 5 Mins, Thanks
hdel flood $+(flood,$nick)
}
}
}
}