Welcome Guest [Log In] [Register]
Feeling in the mood to shop? Need a new wardrobe? Need a unique gift for a friend? Shadows in the Mist has hundreds of new props available in our avatar section. Drop by and have a look!
Welcome to Shadows In The Mist. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
  • Pages:
  • 1
Palace Scripts Collection; This area is dedicated to palace scripts that are used to create interesting rooms within the palace realm.
Topic Started: Mar 31 2010, 08:06 PM (3,567 Views)
ka'li_Deverin_SiM_bm
Member Avatar
Administrator
Below are some of the scripts i have managed to collect in the last little while. If you have some scripts to donate please feel free to post in this section.
Offline Profile Quote Post Goto Top
 
ka'li_Deverin_SiM_bm
Member Avatar
Administrator
Animation Script

;Alan's basic animation script
;Note, if you change ON ALARM to ON SELECT the picture will change every time you
;select it rather than automatically.
ON ENTER
{
0 ME SETALARM
}
ON ALARM
{
;***Set parameters here***
4 nbrpics = ;number of pictures
25 dtime = ;display time - each multiple of 60 is one second
;***End of parameters***
ME GETSPOTSTATE 1 + nbrpics % ME SETSPOTSTATELOCAL
dtime ME SETALARM
}


Offline Profile Quote Post Goto Top
 
ka'li_Deverin_SiM_bm
Member Avatar
Administrator
Go to Web Page

ON SELECT {
"Going to (Shadows in the Mist Message Board)..." ROOMMSG
"You will be transported to (Shadows in the Mist Rules) shortly..." LOCALMSG
{ "http://www.chatarea.com/ShadowsintheMist" NETGOTO } 120 ALARMEXEC





Offline Profile Quote Post Goto Top
 
ka'li_Deverin_SiM_bm
Member Avatar
Administrator
Go to Room

ON SELECT{
502 GOTOROOM}
Offline Profile Quote Post Goto Top
 
ka'li_Deverin_SiM_bm
Member Avatar
Administrator
Decorate Room

ON OUTCHAT {
{ "" CHATSTR
add pid numbers here
1251152493 89 128 ADDLOOSEPROP
1251152397 90 85 ADDLOOSEPROP
1251152334 47 126 ADDLOOSEPROP
1251152298 47 82 ADDLOOSEPROP
1251152194 46 38 ADDLOOSEPROP
1251152130 5 124 ADDLOOSEPROP
1251152004 4 80 ADDLOOSEPROP
1251142254 3 36 ADDLOOSEPROP

} CHATSTR "decorate" == IF
Offline Profile Quote Post Goto Top
 
ka'li_Deverin_SiM_bm
Member Avatar
Administrator
Dance Pole

ON SELECT {
{0} {1} 2 GETSPOTSTATE IFELSE 2 SETSPOTSTATE
}




---------
had trouble making this script work
Offline Profile Quote Post Goto Top
 
ka'li_Deverin_SiM_bm
Member Avatar
Administrator
Looping Sound

;Alan's looping sound with on/off control
;modified from a script by unknown author
ON ENTER
{
snd GLOBAL
1 snd =
"Say 'on' or 'off' to control the music." STATUSMSG
1 ME SETALARM
}
ON OUTCHAT
{
snd GLOBAL
{ 1 snd =
1 ME SETALARM
"" CHATSTR =
} snd NOT
CHATSTR "on" == AND IF
{ 0 snd =
"" CHATSTR =
} CHATSTR "off" == IF
}
ON ALARM
{
snd GLOBAL
;*************************************************************
;Enter the name of your sound file in quotes:
"fire_loop.wav" soundfile =
;Specify the time it takes to play your sound in minutes, seconds
;and 10ths of seconds.
;Adjust the time until the sound starts again just after it stops each time.
;A long pause means it is trying to start too soon.
1 minutes =
00 seconds =
02 tenthsofseconds =
;*************************************************************
{ MIDISTOP
soundfile SOUND
;if an old client use MIDIPLAY in case it is a midi on a PC.
{ soundfile MIDIPLAY } IPTVERSION NOT IF
minutes 3600 * seconds 60 * + tenthsofseconds 6 * + ME SETALARM
} snd IF
}


Offline Profile Quote Post Goto Top
 
ka'li_Deverin_SiM_bm
Member Avatar
Administrator
Msay


ON ENTER {
"@81,303 Hey there sexy !! Looking good girl. Come on and party with me!! ... Thats righ,, uh huh ,, come on ,, yah yah yah !!! "LOCALMSG}
Offline Profile Quote Post Goto Top
 
ka'li_Deverin_SiM_bm
Member Avatar
Administrator
Mushroom Truth or Dare

ON ENTER {
3 cnt = { 1 cnt SETSPOTSTATE cnt ++ } { cnt 15 < } WHILE
"To spin the magic mushroom, say spin" LOCALMSG
}
ON OUTCHAT {
{
{ 1 102 SETSPOTSTATE
USERNAME " is spinning" & 10 10 SAYAT
nextspot GLOBAL spottodo GLOBAL
1 cnt = { { startpos GLOBAL cnt startpos = 1 startpos SETSPOTSTATE } cnt GETSPOTSTATE 0 == IF cnt ++ } { cnt 13
< } WHILE
numberspots GLOBAL 13 RANDOM 12 + numberspots =
0 cnt =
{ startpos cnt + 12 % spottodo = { 1 nextspot = }{ spottodo 2 + nextspot = } spottodo 11 == IFELSE
"\{ 1 " spottodo 1 + itoa & " SETSPOTSTATE 0 " & nextspot itoa & " SETSPOTSTATE \}" & cnt 50 * itoa & "
ALARMEXEC" & STRTOATOM EXEC cnt ++ }
{ cnt numberspots < } WHILE
{ nextspot GLOBAL { 12 nextspot = } nextspot 0 == IF nextspot itoa " is the magic mushroom spot" & 10 10 SAYAT }
cnt 2 + 50 * ALARMEXEC
"" CHATSTR =
{ 0 102 SETSPOTSTATE } cnt 10 + 50 * ALARMEXEC
}
{ "" CHATSTR = "Spin already working" STATUSMSG } 102 GETSPOTSTATE 0 == IFELSE
} CHATSTR "spin" == IF
}


Offline Profile Quote Post Goto Top
 
ka'li_Deverin_SiM_bm
Member Avatar
Administrator
Music

ON ENTER{ "200angels.wav" sound
"@10,10 NOTE: To listen to the music of the Angel click on the BEARPAW " LOCALMSG
}
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Palace Information Section · Next Topic »
Add Reply
  • Pages:
  • 1