[pandorabots-general] Banning IP

Anne Kootstra anne at aiml.info
Fri Mar 9 08:42:57 PST 2007


Within the pandorabots system it is impossible to ban someone on the basis
of an IP number. This is, in my opinion, a rather crude way of blocking a
person, in particular since people may be sharing an IP. For example
corporate firewalls, proxy settings etc will have to the outside world one
IP number. Banning this IP number will have an effect on everyone. Therefor
it is better to ban the user, this is something that can quite easily be
done in AIML.

 

<?xml version="1.0" encoding="ISO-8859-1"?>

 

<aiml version="1.0">

 

<category>

            <pattern>SEX</pattern>

            <template>

            <think>

                        <condition name="TOLERANCE">

                                   <li value="1"><set
name="TOLERANCE">2</set></li>

                                   <li value="2"><set
name="TOLERANCE">3</set></li>

                                   <li value="3"><set
name="TOLERANCE">LAST</set></li>

                                   <li value="LAST"><set
name="topic">BLOCKED USER</set></li>

                                   <li><set name="TOLERANCE">1</set></li>

                        </condition>

            </think>

            Do not do this again, my tolerance level has a limit.

            </template>

</category>

 

<topic name="BLOCK USER">

 

<category>

            <pattern>_</pattern>

            <template>

                        You are permanently blocked.

            </template>

</category>

 

</topic>

 

 

</aiml>

 

Kind Regards,

 

Anne.

 

  _____  

Van: Blair Strater [mailto:aangfantaf at gmail.com] 
Verzonden: woensdag 7 maart 2007 22:41
Aan: pandorabots-general at list.pandorabots.com
Onderwerp: [pandorabots-general] Banning IP

 

I need help. People seem to be using my bot inapropriateley. Is there any
way I can have my bot either not accept certain IP address, or give them a
special message no matter what they say?

THANKS!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.pandorabots.com/pipermail/pandorabots-general/attachments/20070309/f04a3428/attachment.html 


More information about the pandorabots-general mailing list