Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Hi, anyone here does mRIC Scripting?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam
View previous topic :: View next topic  
Author Message
Flexi
Grandmaster Cheater Supreme
Reputation: 0

Joined: 05 Dec 2006
Posts: 1544
Location: Singapore

PostPosted: Sun Dec 02, 2007 2:24 am    Post subject: Hi, anyone here does mRIC Scripting? Reply with quote

Hiya, i need help here.

My country uses mirc to spam their IP in it so that people can join their lan games.
So, i need help with making a script to detect ip so that people would not overspam the ip in the channel.
Over much test, i guess this is the best to detect.

Code:
$validip($gettok(%repeat.check,%iii,32)) == $true


But i have trouble making this into a full Script.
I want it to be like,
Quote:
222.164.197.9 << MY IP!! COME JOIN MY GAME NOW!

Then my bot will temp ban for repeat spamming of IPs.

This is the script i have for repeat ban.
How do i add this
Code:
$validip($gettok(%repeat.check,%iii,32)) == $true

so that they will ban on repeat on IP but not banning on normal chat repeat spam.
Code:
on @*:text:*:#:{
  if ( %rep_tid1 == $null ) { set %rep_tid1 $60 }
  if ( %rep_ban1 == $null ) { set %rep_ban1 $300 }
  if ( %rep_antal1 == $null ) { set %rep_antal1 $4 }
  if ($nick isop $chan) { halt } 
  if ($nick isvoice $chan) { halt }
  if ($nick == null) { return }

  var %rp.repeats = rp. $+ $nick $+ . $+ $chan
  var %rp.text = rp. $+ $nick $+ . $+ $chan $+ $text
  if ( % [ $+ [ %rp.repeats ] ] == $null ) {
    set -u [ $+ [ %rep_tid1 ] ] % [ $+ [ %rp.repeats ] ] 1
    set -u [ $+ [ %rep_tid1 ] ] % [ $+ [ %rp.text ] ] $1-
  }
  elseif ( % [ $+ [ %rp.text ] ] == $1- ) {
    inc % [ $+ [ %rp.repeats ] ]
  }
  elseif ( % [ $+ [ %rp.text ] ] != $1- ) {
    set -u [ $+ [ %rep_tid1 ] ] % [ $+ [ %rp.text ] ] $1-
    set -u [ $+ [ %rep_tid1 ] ] % [ $+ [ %rp.repeats ] ] 1
  }
  if ( % [ $+ [ %rp.repeats ] ] >= %rep_antal1 ) {
    .msg # 15,1[9,1 $nick 15]15,01[08 has been muted for 5Min for breaking the 3Spams/Min rule 15]
    ban -u $+ %rep_ban1 # $nick %bs
    unset %rp. $+ $nick $+ . $+ $chan
    unset %rp. $+ $nick $+ . $+ $chan $+ . $+ text
  }
}

_________________
Back to top
View user's profile Send private message
bfsdbsdfbdsfb
Grandmaster Cheater
Reputation: 54

Joined: 06 Sep 2007
Posts: 702
Location: Oh noez.

PostPosted: Sun Dec 02, 2007 3:44 am    Post subject: Reply with quote

Sound's likely
good boy Wink

_________________
bsdfbdsfb
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites