Hey i'm at the very beginning of perl and making a simple im bot. i downloaded the beginner bot from www.wiredbots.com, and its cool. my main purpose thus far is to make text responses to input from people im, so say my friend im's the bot, and then input would be what they say [or part of it, wired bots had a simple code
-----------------------------
Screenname: SCREENNAME;
Password: PASSWORD;
Message;
Hello|Hi|Hey=exact>Hi! How are you?|Hello!;
Are you=>Yep.|Probably.|I dunno.|Nah.;
/Message;
Connect;
-----------------------------
my problem was the 'are you=>yep.|probably.|i dunno.|nah.;' section doesnt work. when i tested and said "how are you", the response i get is "huh?" how would i include these inputs and responses into my bot?
input------------------response
hey,-------------------hey, hello, or hi.
whats up, sup, etc,----not much, but this is andys im bot
please respond soon, it would be much appreciated, and if i begin to grasp this stuff i may enter the business one day. also please email the response to aimbot1@hotmail.com
thanks
2002-06-11 Edit by Corion : Changed a single opening bracket ([) to it's HTML entity [ - maybe this helps unbreak the node.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.