Author Topic: How to remove te spam auto-kicking from sansan?  (Read 4591 times)

0 Members and 1 Guest are viewing this topic.

Offline Ricardo Diaz

  • Street Thug
  • *
  • Posts: 9
    • View Profile
How to remove te spam auto-kicking from sansan?
« on: May 15, 2008, 08:04:52 am »
Hi guys,
plz can someone help me when i connect sansan to my server, then when i type 3 times i get auto kickiked!
I just need to remove that thing.
Best Regards,
Tony

Offline GTA-Roloboy

  • Made Man
  • ***
  • Posts: 135
    • View Profile
Re: How to remove te spam auto-kicking from sansan?
« Reply #1 on: May 16, 2008, 09:33:19 pm »
I need to remove: "Please wait 4 seconds " :P

Offline bakasan

  • VC:MP Developer
  • Made Man
  • *
  • Posts: 169
    • View Profile
Re: How to remove te spam auto-kicking from sansan?
« Reply #2 on: May 18, 2008, 09:08:11 pm »
Hi guys,
plz can someone help me when i connect sansan to my server, then when i type 3 times i get auto kickiked!
I just need to remove that thing.
Best Regards,
Tony

find this:
Code: [Select]
on *:SIGNAL:vcmp.event.chat:{
  var %name = $left([ $1 ],-1),%id = $vcmp.nameid(%name), %team = $iif($vcmp.hgetteam(%id) != -1,$v1,255), %cname = $iif($vcmp.hgetteam(%id),$vcmp.nickcolor(%name $+ $par(%team)) $+ :,01 $+ $1 $+ )
  $iif($($+(%,antispam.,[ %name ]),2) == 5,vcmp.kicknow %id flooding,inc -u5 $+(%,antispam.,[ %name ]))


Code: [Select]
on *:SIGNAL:vcmp.event.chat:{
  var %name = $left([ $1 ],-1),%id = $vcmp.nameid(%name), %team = $iif($vcmp.hgetteam(%id) != -1,$v1,255), %cname = $iif($vcmp.hgetteam(%id),$vcmp.nickcolor(%name $+ $par(%team)) $+ :,01 $+ $1 $+ )
;---commenting out this line prevents spam/flood protection
;  $iif($($+(%,antispam.,[ %name ]),2) == 5,vcmp.kicknow %id flooding,inc -u5 $+(%,antispam.,[ %name ]))




_______________



I need to remove: "Please wait 4 seconds " :P

change:
Code: [Select]
on *:SIGNAL:vcmp.event.chat:{
  var %name = $left([ $1 ],-1),%id = $vcmp.nameid(%name), %team = $iif($vcmp.hgetteam(%id) != -1,$v1,255), %cname = $iif($vcmp.hgetteam(%id),$vcmp.nickcolor(%name $+ $par(%team)) $+ :,01 $+ $1 $+ )
  $iif($($+(%,antispam.,[ %name ]),2) == 5,vcmp.kicknow %id flooding,inc -u5 $+(%,antispam.,[ %name ]))
  vcmp.enforcelogin %id
  vcmp.enforcestfu %id
  vcmp.enforce.censor %id $2-
  if ($left($2,1) == !) {
    if ($($+(%,anticmdspam.,[ %name ]),2) > 0) { vcmp.adminmsg %id ** Error: You must wait 4 seconds between commands. }
    else { inc -u4 $+(%,anticmdspam.,[ %name ]) | .signal vcmp.event.gamecmd $1- }
  }
  if (%echolevel > 2) vcmp.echo %cname $2-
}


to something like:
Code: [Select]
on *:SIGNAL:vcmp.event.chat:{
  var %name = $left([ $1 ],-1),%id = $vcmp.nameid(%name), %team = $iif($vcmp.hgetteam(%id) != -1,$v1,255), %cname = $iif($vcmp.hgetteam(%id),$vcmp.nickcolor(%name $+ $par(%team)) $+ :,01 $+ $1 $+ )
  $iif($($+(%,antispam.,[ %name ]),2) == 5,vcmp.kicknow %id flooding,inc -u5 $+(%,antispam.,[ %name ]))
  vcmp.enforcelogin %id
  vcmp.enforcestfu %id
  vcmp.enforce.censor %id $2-
  if ($left($2,1) == !) .signal vcmp.event.gamecmd $1-
  if (%echolevel > 2) vcmp.echo %cname $2-
}


Offline GTA-Roloboy

  • Made Man
  • ***
  • Posts: 135
    • View Profile
Re: How to remove te spam auto-kicking from sansan?
« Reply #3 on: May 18, 2008, 11:36:06 pm »
Thanks a lot baka :D

Btw, nice signature!