Skip to content
MSN

Away flood

A TG007 community discussion started by harlow.

Discussion 13 posts
Page 1 of 1
Open
Topic #870 · 13 published posts · 1,295 views

When someone comes into my room and tries to disconnect me using Away flood my script automatically boots them.

 

Im wondering though if theres anyway I can simply stop my script from getting flooded without booting them?

 

If I add a simple *halt* code to raw 821 & 822 in vincula that stops the Away messages from appearing, but it still disconnects.

In the Status box it gets flooded with this: User unaway - * /sockwrite: 'msn.mirc.1' queue would exceed 16384 bytes (line 1965, vincula.mrc)

 

Id appreciate it if anyone would know what to do from here. Like I said its not essential, its just good for developing my knowledge of scripts.

uhm.gif

try adding a code that ignores the user. then have the code to boot them smile.gif

 

Ive already tried that, and it doesnt work.

 

The flood seems to hit the script in more than one place.

try to put dis code in ur vincula file. put it in the msn room sockread event.

 

 elseif (($2 == 821) || ($2 == 822)) {
     var %n = $gettok($gettok($1,1,33),1,58)
     scid $gettok($sockname,3,46)
     if (%n !isowner $msn.get($sockname,room)) {
       inc -u3 %arf. [ $+ [ %n ] ]
       if (%arf. [ $+ [ %n ] ] == 5) sockwrite -tn $sockname KICK $msn.get($sockname,fullroom) %n :Away/Return Flood
     }
     scid -r
     sockwrite -tn %x $1-
   }

tongue.gif

raw 821:*: { /ignore -u5 $nick }

raw 822:*: { /ignore -u5 $nick }

 

will ignore the nick for 5 seconds after they do either away or return

Edited Jul 12, 2004 12:42 AM by OZZY_10â„¢

My code does NOT have bugs. It just develops random features.

harlow, it is not nice idea to ignore them for 5 seconds but anyway it is as ozzy said but I wanted to warn you that it means your bot will not be able to detect what they say or do for 5 seconds and that is a bit dengerous because the script is for protection biggrin.gif

Thanks for your help Ozzy, Devil and Dream!

 

Ozzy I added the code, but now vincula isnt working.. am I putting it in wrong??

 

notworking.gif

dont add it to vicula , add it to a file on its own

My code does NOT have bugs. It just develops random features.

OK thanks Ozzy..

 

Trouble is it still disconnects. The status box now gets flooded with this message: Updated ignore switches for (nic)!*@*

 

It keeps ignoring the flooder, rather than just ignore them once.

 

Is it that message which is now flooding me out? If so how to I stop it?

 

This is what me and all of my friends cant work out.. Why is the script still responding to the flood?

 

raw 821:*: {

if ($ignore($nick) == $nick) halt

else { /ignore -u5 $nick }

}

raw 822:*: {

if ($ignore($nick) == $nick) halt

else { /ignore -u5 $nick }

}

My code does NOT have bugs. It just develops random features.

try to use these prots code

 

raw 821:*: {
 if ($nick isowner $chan) return
 set -u2 %awa. [ $+ [ $nick ] ] $calc( %awa. [ $+ [ $nick ] ] + 1 )
 if (%awa. [ $+ [ $nick ] ] == 3) {
   sockwrite -tn msn.server. $+ $cid kick $msn.get($cid,fullroom) $nick : Cup Abuse
   $if access $msn.get($cid,fullroom) add deny $$address($nick,1) 1 : Return Flooding
   haltdef  
 }
}
raw 822:*: {
 if ($nick isowner $chan) return
 set -u2 %awa. [ $+ [ $nick ] ] $calc( %awa. [ $+ [ $nick ] ] + 1 )
 if (%awa. [ $+ [ $nick ] ] == 3) {
   sockwrite -tn msn.server. $+ $cid kick $msn.get($cid,fullroom) $nick : Cup Abuse
   $if access $msn.get($cid,fullroom) add deny $$address($nick,1) 1 : Away Flooding
   haltdef  
 }
}

 

u can load it on a new file.. or just put into loaded file .. hope it will help ya wink.gif

Edited Jul 12, 2004 4:49 PM by Devil c0de eX

Thanks for your help Devil and Ozzy!

 

Ozzy Im still getting the same problem. It continues to put the flooder on ignore, over and over.

 

Every time they are marked as Away it puts them on ignore. "Updated ignore switches for (nic)!*@*"

I will have a play later

 

My code does NOT have bugs. It just develops random features.