mIRC Home    About    Download    Register    News    Help

Print Thread
#199168 10/05/08 05:25 AM
A
AWEstun
AWEstun
A
Anyone have any ideas for a bot guard? For those that don't know what a bot guard is, it asks the person that's trying to pvt you a question first and they have to give the correct answer to get through to you.

#199183 10/05/08 01:12 PM
M
Mpot
Mpot
M
The easiest way would be to use an access list.

Code:
on *:text:*:?:{
  if ($level($address($nick,2)) < 5) { msg $nick You're not authorized to message me. | /closemsg $nick | /echo -a  $nick tried to message you.  }
}

menu nicklist {
  -
  $iif($level($address($$1,2)) >= 5,Remove Message Access):{ /ruser 5 $address($$1,2) | /echo -a Removed $$1 from message access. }
  $iif($level($address($$1,2)) < 5,Add Message Access):{ /auser 5 $address($$1,2) | /echo -a Added $$1 to message access. }
}

#199228 11/05/08 06:52 AM
A
AWEstun
AWEstun
A
The only thing is, I'd like my scrip to ask the person trying to pvt me, a question and if they answer it right, then they can chat with me.


Link Copied to Clipboard