mIRC Home    About    Download    Register    News    Help

Print Thread
Bot Guard #199168 10/05/08 05:25 AM
Joined: May 2008
Posts: 329
A
AWEstun Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: May 2008
Posts: 329
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.


I registered; you should too.
Re: Bot Guard [Re: AWEstun] #199183 10/05/08 01:12 PM
Joined: Apr 2007
Posts: 228
M
Mpot Offline
Fjord artisan
Offline
Fjord artisan
M
Joined: Apr 2007
Posts: 228
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. }
}

Re: Bot Guard [Re: Mpot] #199228 11/05/08 06:52 AM
Joined: May 2008
Posts: 329
A
AWEstun Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: May 2008
Posts: 329
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.


I registered; you should too.