Go Back   The Palace Avatar Chat Community Forums. > Palace Builders Palace Users > Room Scripts

Room Scripts Use this forum for your room scripts, copy them or add them.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-21-2008, 04:52 AM
Palace User
 
Join Date: Dec 2008
Posts: 8
Rep Power: 0
Spyder is on a distinguished road
Forum Link Snow/Rain Script and Snow Images

Snow/Rain Script and Snow Images
I know this time of year the snow script might be of some use. so i provide the script for snow/rain and the images for snow. if someone makes the rain images please let me know.

palace://palacemegadome.com:9998/
To Download The Snow Images

at Palace Mega Dome i have the 3 images 1 2 3 repeated 5 times in that order (1 2 3) to make a total of 15 images.

Snow/Rain Script Below.


;Alan's Rain/snow script
;Create a rain or snow picture that is taller than the room.
;Put the picture in the spot multiple (e.g., 10) times.
;Customize the information between the lines of asterisks.
;Then say "setpictures <door number>" to automatically set the picture locations.
;Note, you must be an owner/operator to do this.
;Other useful commands provided are:
;Say "reset <doornumber>" to set the spot to the first picture.
;Say "mp" to find the current mouse position.
ON ENTER
{
nbrpics GLOBAL
;***Set the number of pictures***
15 nbrpics =
;***end of data***
0 ME SETSPOTSTATELOCAL
0 ME SETALARM
}
ON OUTCHAT
{
nbrpics GLOBAL
{
{
;*************************************************
;Set the picture parameters.
;Start and stop positions are relative to the door.
;You must be an Owner/Operator for the script to work.
0 start_x =
-50 start_y =
0 stop_x =
0 stop_y =
;*************************************************
nbrpics 1 - steps =
stop_x start_x - range_x =
stop_y start_y - range_y =
;
;Move the pictures. Multiply before divide to reduce error!
;
0 i =
{ i ME SETSPOTSTATE
start_x range_x i * steps / + start_y range_y i * steps / + ME SETPICLOC
i ++
} { i nbrpics 1 - <= } WHILE
0 ME SETSPOTSTATE
0 inout =
"" CHATSTR =
} "$1" GREPSUB ATOI ME == IF
} CHATSTR "^setpictures ([0-9]+)" GREPSTR IF
;
{
{ 0 ME SETSPOTSTATE
0 inout =
"" CHATSTR =
} "$1" GREPSUB ATOI ME == IF
} CHATSTR "^reset ([0-9]+)" GREPSTR IF
;
{ MOUSEPOS y = x =
"@" x ITOA & " " & y ITOA & " x = " & x ITOA & ", y = " & y ITOA & LOCALMSG
"" CHATSTR =
} CHATSTR "mp" == IF
}
ON ALARM
{
nbrpics GLOBAL
ME GETSPOTSTATE 1 + nbrpics % ME SETSPOTSTATELOCAL ;cycle up
30 ME SETALARM
}
;********End Script***********



if any questions simply reply to this post to save others from asking same questions


Hope you enjoy and happy holidays
Clint
aka.
Spyder
Reply With Quote
Reply
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Transparent script for snow Lisahoney1 Room Scripts 4 12-31-2008 06:36 PM

The Latest Posts
Title, Username, & Date Last Post Forum
download
03-21-2011 11:20 AM
by maarten
User Questions
Palace for Mac OS 10.6?
03-13-2011 09:39 AM
by pawnipt
User Questions
Server
03-07-2011 04:52 PM
by satinrose
User Questions
Return room Script
02-24-2011 12:07 AM
by jaela
Room Scripts
Releasing source code
02-17-2011 09:19 AM
by Sman™
Developers Forum
Website spammers
01-26-2011 08:48 PM
by maarten
The Planet: Palace News
Online Users: 65
0 members and 65 guests
No Members online
Most users ever online was 1,010, 06-27-2007 at 11:45 PM.
Stats
Members: 5,112
Threads: 1,141
Posts: 4,004
Top Poster: maarten (1,169)
Welcome to our newest member, cliffymayers


All times are GMT +2. The time now is 08:40 PM.


Powered by vBulletin
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0