Before answering, the best place to ask about room scripts is in the
Iptscrae mail list you belong to. This one is technically for creating
complex scripts that run unattended in a separate client which are called
bots.
To answer your question:
You can use any borg script in a room and it will function just as if it is
a borg script.
A typical dress script is:
ON OUTCHAT
{
{ [ 12345678 23456789 ... 87654321 ] SETPROPS
"" CHATSTR =
} CHATSTR "keyword" == IF
}
You can replace any number above with the name of the prop in quotes, e.g.:
[ 12345678 23456789 ... 87654321 ] SETPROPS
could also be
[ "spider1" "spider2" ... 87654321 ] SETPROPS
To draw something, strip the draw commands out of a borg you have and put it
in the room. Here's what I have for drawing lips (taken out of the typical
move, kiss, and move back borg):
ON OUTCHAT
{
{ 255 31 0 PENCOLOR
2 PENSIZE
PENFRONT
MOUSEPOS PENPOS
4 2 LINETO
-4 3 LINETO
MOUSEPOS PENPOS
-4 2 LINETO
4 3 LINETO
"" CHATSTR =
} CHATSTR "keyword" == IF
}
In each case I just added the handler (e.g., ON OUTCHAT) portion and also
added "" CHATSTR = at the end which keeps the keyword from being shown.
on 1/25/04 12:28 AM, Craft Name: Whystara Somer Mundane: Sandy at
WhystaraSomer@... wrote:
> I'm trying to figure out how to do room bots where the bot (spot) in
> the room drops props onto a particular user or paints the script onto
> a particular user when the user triggers the script by saying a word
> or phrase. I have tried looking at some of the scripts i'm tryiing to
> use, such as the script that paints lips on another person using the
> mouse position. However i want the bot to find the user and paint the
> lips or drop the prop on the user instead of using the mouse
> position. Can you offer advice on this? I can add the bot script into
> another post if you need me to. Please let me know.
>
> Thanks :)
>
> ~Why
>
>
>
>
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/palace-bots/
>
> To unsubscribe from this group, send an email to:
> palace-bots-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to:
> http://docs.yahoo.com/info/terms/
>
>
--
Palace scripts: http://www.chatserve.com/alansscriptlibrary.htm
Palace Macintosh support: http://www.accesscom.com/~alant/palace/index.html