There are a couple of websites you can check out the bot scripts on and try
to either rework them to suit you if you understand iptscrae pretty good or
at least get a basic idea of whats involved. Im working on a "building my
own bot" webpage currently and will post the addy when its complete.
For now, check out these sites and if you have any questions about building
one fire away! Remember that most of your scripting will occur in the ON
INCHAT handler just because your bot will have to "hear" it to respond.
INCHAT means what they say or as a friend puts it "IN your ear" and "OUT
your mouth" for OUTCHAT. It would end up looking like this..
ON INCHAT {
{ "Hi There!" SAY
} CHATSTR "jbot" == IF }
Thats very basic but everytime someone says your bots name (jbot in my
case), the bot will respond with Hi There!
http://virtual.dyc.edu/blueness/iptscrae/iptscrae.htm
http://mlab.uiah.fi/~lsaarine/bots/
What do you have in mind for your bot to do or say? I can show you some
things to get you started like....
ON SIGNON you will need to initialize any GLOBALs
ON SIGNON {
;We added the GLOBAL variable mas (master) and assigned the master
;to the username "Jade". Now anywhere in the script that we use mas,
;the person executing that particular script will "have" to be named Jade
;or it won't run
mas GLOBAL
"Jade" mas =
;have the bot signon with its macro and put this on an alarm in the
;ON ENTER handler so if any scripts set a prop on him, they
;will redress themselves.
10 MACRO
}
I'll show you how the mas could be used in INCHAT now that its setup
ON INCHAT {
;bot will say "I Belong to Jade" when a member says *Master*
mas GLOBAL
{ "I Belong to " mas + SAY }
CHATSTR "*Master*" SUBSTR IF
;if the "mas" (me) says go 100, my bot will go to room 100
{ "$1" GREPSUB ATOI GOTOROOM
} CHATSTR "^go (.*)$" GREPSTR
WHOCHAT WHONAME mas == AND IF
}
There is just so much you can do and maybe this and those websites will help
you. If you have anything particular in mind for your bot to do, post it.
One of us will help if we can.
Jade
PS - Im not ignoring the other question on Bud the bot, but thats Finks
palace (owner of this list) and he will have to reply to you on that because
Ive never seen yet what you are talking about. I heard it was pretty cool
tho. Just gotta find the time to get over there is all. :-)
> i would like help to build a bot that could run
> himself. please email me if you know the answer
> tauket2@...
>
> thanx,
> chris
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year! http://personal.mail.yahoo.com/
>
> To unsubscribe from this group, send an email to:
> palace-bots-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>