mIRC Home    About    Download    Register    News    Help

Print Thread
#251836 06/03/15 08:04 AM
S
Smokey1974
Smokey1974
S
on *:ACTION:*slaps*:#:{
if ($istok($1-,$me,32))
{ inc -u5 %floodpro 1
if (%floodpro > 1) { halt } }
{ inc %anti
describe $chan Dodges and Slaps $nick instead!! $+([ %anti, : Slaps Dodged!, ]) }
}


I have something messed up its not working can anyone help me out pls and thank you.

Joined: Dec 2008
Posts: 1,483
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,483
Try use this code:

Code:
ON *:ACTION:*slaps*:#: {
  tokenize 32 $strip($1-)
  if ($me !isin $1-) { return }
  if (%floodpro > 1) { return }
  inc -eu5 %floodpro 1
  inc %anti
  describe $chan Dodges and Slaps $nick instead!! [ %anti : Slaps Dodged! ]
}


Link Copied to Clipboard