Search the web
Sign In
New User? Sign Up
palace-client · Independent Forum for the Palace Client
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
HELP on Scripting!!   Message List  
Reply | Forward Message #586 of 617 |
Re: [palace-client] HELP on Scripting!!

I helped Kelly resolve this so no need for others to answer.

Alan

On Apr 5, 2005, at 12:15 PM, Kelly Garcia wrote:

>
> Dear palace EXPERTS!
> I am not the best with scripts and I am having some
> troubles with the following scripts. 1st: the problem
> with the controllable animation script is it will not
> work, ???? I tried it in a room and gave up and used
> the basic animation and that works fine, but why not
> this controllable?? 2nd: I am having troubles
> figuring the x,x,y,y coordinates, I even asked someone
> and looked it up on different sites, I have many
> different windows and I want when you are over a
> window to have a message say where that window goes
> to, but the cooridinates will basically , but not
> perfectly work for message 1 but not the others
> I go to the top left of each window and use my pos
> command for my mouse than the bottom right of the
> window, & repeat, but when all is done the script
> makes the messages appear way off from the windows,
> except message 1 is almost right. I am a bit
> frustrated, can anyone help??? Please??? & thank you?
> -------------------------------------------------------
> ;Alan's controllable animation script
> ; - Animate upon room entry or when command entered.
> ; - Animate once or continuously.
> ON ENTER
> {
> animate GLOBAL
> loop GLOBAL
> manual GLOBAL
> startcmd GLOBAL
> stopcmd GLOBAL
> ;
> ;***Setup Parameters***
> 1 loop = ;0 to loop once, 1 to loop continuously
> 1 manual = ;0 to start on entry, 1 to make user
> start
> "start animation" startcmd = ;command to start
> animation
> "stop animation" stopcmd = ;command to stop
> animation
> ;***End of Setup Parameters***
> ;
> 1 animate =
> { "Say '" startcmd & "' to start the animation." &
> LOCALMSG
> "Say '" stopcmd & "' to stop the animation." &
> LOCALMSG
> } { 0 ME SETALARM } manual IFELSE
> }
>
> ON OUTCHAT
> {
> animate GLOBAL
> manual GLOBAL
> startcmd GLOBAL
> stopcmd GLOBAL
>
> ;start/stop animation
> { 1 animate =
> 0 ME SETALARM
> "" CHATSTR =
> } CHATSTR startcmd ==
> manual AND IF
> ;
> { 0 animate =
> "" CHATSTR =
> } CHATSTR stopcmd ==
> manual AND IF
> }
>
> ON ALARM
> {
> animate GLOBAL
> loop GLOBAL
> ;
> ;***Setup Parameters****
> 6 nbrpictures = ;number of pictures in this spot
> 60 dtime = ;time each picture is displayed.
> ;Each multiple of 60 is one second of display.
> ;***End of Setup Parameters***
> ;
> { ME GETSPOTSTATE 1 + nbrpictures % ME
> SETSPOTSTATELOCAL
> dtime ME SETALARM
> } loop NOT
> ME GETSPOTSTATE nbrpictures 1 - == NOT AND
> loop OR
> animation AND IF
> }
> -----------------------------------------------------
> ;Alan's mouseover script 1a
> ;This script displays a specified message at the mouse
> position when the mouse is over a specified area.
> ;Multiple message/locations can be specified.
> ;Place the following script in a spot:
> ON ENTER
> {
> 0 ME SETALARM
> }
> ON ALARM
> {
> [
> ;
> ;****Set message data: [ x_left x_right y_up y_down 0
> "message" ]
> [ 82 112 10 48 0 "Message 1" ]
> [ 260 293 20 54 0 "Message 2" ]
> [ 420 458 26 59 0 "Message 3" ]
> [ 80 120 106 143 0 "Message 4" ]
> [ 260 305 101 149 0 "Message 5" ]
> [ 430 465 114 152 0 "Message 6" ]
> ;***end of spot data***
> ] moarray =
> 0 i =
> { moarray i GET temparray =
> MOUSEPOS DUP temparray 2 GET >= SWAP temparray 3 GET
> <= AND
> SWAP DUP temparray 0 GET >= SWAP temparray 1 GET <=
> AND AND mouseover =
> {
> { temparray 0 GET temparray 1 GET + 2 / x =
> temparray 2 GET temparray 3 GET + 2 / y =
> "@" x ITOA & "," & y ITOA & temparray 5 GET &
> LOCALMSG
> } mouseover IF
> mouseover temparray 4 PUT
> temparray moarray i PUT
> } temparray 4 GET mouseover == NOT IF
> i ++
> } { i moarray LENGTH < } WHILE
> 30 ME SETALARM
> }
> ----------------------------------------------------
> Thanks for any help
> Kelly
>
> Huggs From KellyJean
> KellyJBG@...
> A Palace Chat Program Owner
> "Bridge of Dreams & Nightmares" Palace
> Palace addy: bodan.fastpalaces.com:9998
> 65.254.42.215:9998
>
>
>
>
>
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Take Yahoo! Mail with you! Get it on your mobile phone.
> http://mobile.yahoo.com/maildemo
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
----------
Alan Templeton
Sunnyvale, CA




Wed Apr 6, 2005 7:14 am

alan_templeton
Offline Offline
Send Email Send Email

Forward
Message #586 of 617 |
Expand Messages Author Sort by Date

Dear palace EXPERTS! I am not the best with scripts and I am having some troubles with the following scripts. 1st: the problem with the controllable animation...
Kelly Garcia
kellyjbg
Offline Send Email
Apr 5, 2005
7:16 pm

I helped Kelly resolve this so no need for others to answer. Alan ... Alan Templeton Sunnyvale, CA...
Alan
alan_templeton
Offline Send Email
Apr 6, 2005
7:14 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help