Simple Room Scripts

These are some simple room scripts, used often in almost all palaces. To place a room script in script spot, you must first have wizard/operator or god/owner access, then...
  • Choose "New Door" from the Wizard/Operator menu.
  • Resize the door to be small and plce it somewhere out of the way, no one will see it so put it whereever you feel like = )
  • Highlight the door and select "Door Info..." from the Wizard/Operator menu.
  • In the Door Info window, change the doors type from Passage to Normal
  • Clik the Script button
  • Paste in the room script
To place a room script inside a door for selecting, create a script spot but instead resize it to the shape you want, then set the doors type to Passage. ON SELECT scripts should almost always be on a "door" instead of a "spot". A spot has the type of Normal and is only shown in authoring mode. A door has the type of Passage, will be shown whenever a user shows doors (Control+Shift for PC, Control for Mac) and whenever the mouse pointer goes over the spot the pointer will change to the pointing hand icon. Here are some simple scrits to paste into spots/doors...   ;Make a wav sound play/download when a user enters this room ON ENTER { "sound.wav" SOUND }   ;Make a wav sound play/download when the user selects this door ON SELECT { "sound.wav" SOUND }   ;Make the user goto a website when they select this door ON SELECT { "http://www.thepalace.com" NETGOTO }   ;Make the user goto another palace when they select this door ON SELECT { "palace://palace.thepalace.com:9998" NETGOTO }   ;Make the user play a MIDI sound when they select this door, works with both PCs and most Macs ON SELECT { { "sound.mid" MIDIPLAY } { "sound.mid" SOUND } DATETIME 0 > IFELSE }   ;Send an announcement to every user when they enter this room ON ENTER { "My message" LOCALMSG }   ;Send a goodbye notice to anyone leaving ON LEAVE { "Good bye " USERNAME + "!" + LOCALMSG }   ;Send a message when a user selects this door ON SELECT { "My message" LOCALMSG }   If your intrested in learning more about iptscrae check out The Iptscrae Manual.
More from
Previous
Submit a story or news
Got anything to share? Palace related or just a personal view? Submit it as a story! Simply follow this link: http://www.palaceplanet.net/submit_story/index.html...
Palace Manuals and Guides
Palace Client Guides and Manuals Manuals go into every detail of Palace operations. Guides just give you a quick overview of the basics. HowTo: Client ...
Iptscrae Language Reference
This section is a reference to the Iptscrae language: * Data types * Event handlers * Commands and functions * Operators Iptscrae possesses over 100 specialized commands and keywords, as well as its own versions of many commonly-used operators and functions; each of these represents a wide range of interactive possibilities awaiting your imagination. ...
Quick Reference
The following table is a brief summary of the Iptscrae commands and their meanings. ...
Adding Machine Exercise
The following exercise provides a step-by-step look at the creation of a script called "Adding Machine," which performs addition problems. With this script in place, whenever you type in something like "673 plus 897" your avatar will say "673 plus 897 equals 1570", and at last your parents will see the point behind all that tuition ...
Code Limitations
This section describes the current Iptscrae implementation limits. No matter how cleverly you assign variable names and swap graphic elements, there are some data handling boundaries hard-coded into the software. In general, The Palace Viewer version of Iptscrae is limited only by the memory available in the browser, so these limits only apply to The Palace User Software clients for Windows and Macintosh. Note that client and server limites may override those noted below. ...
Iptscrae Index
Alphabetical Index Page of the Iptscrae manual...
image
Wizard Manual Contents
An overview of all available topics covered in the Wizards Manual....
image
Operators and Owners
Like most text-based chat systems and Internet MUDs (Multi-User Dimensions), The Palace software allows you to assign special powers to a select group of trusted users, making them "virtual authority figures" on your site. In Palace parlance, these individuals are known as operators and owners. This chapter has the following sections: * The Palace user hierarchy * Palace operators * Palace owners * Personal styles ...
image
The Operator's Interface
This section describes the advanced authoring features accessible by operators and owners via the Palace User Software interface: * Becoming an operator * Becoming an owner * Using the Operator menu * The Windows operator avatar pop-up menu ...
image
Operator and Owner Commands
The following section describes the syntax and function of all special commands available in operator mode: * Operator commands * Owner commands * The 'page command revisited ...
image
Being a Responsible Operator
This section contains a number of guidelines and discussions intended to help you "grow" your site and maintain a positive and effective reputation as a operator. Some of these guidelines suggest general attitudes and actions to be performed on a continual basis, while others are intended to help you recognize and deal with disruptive or abusive users, in specific circumstances. * Overview * Roles and responsibilities * Security functions * Authoring ...
image
Palace Design Tips & Techniques
This section describes various means of adding advanced functionality to your Palace site, and includes an examination of the limitations faced by Palace designers. * Using a new template * Authoring with The Palace Authoring Tool * Linking Palace sites and web sites * Palace limitations and workarounds ...
image
Adding A Server Monitor To A Web Page
Palace Server version 4.3.2, which shipped for Unix, Linux, and Windows NT platforms, shipped with a Server Monitor as part of the InstantPalace files. This small java applet should be run from a web server that is on the same machine as your Palace Server. The Server Monitor (also called PalaceServer Resource Center) has a red and green light that shows whether your server is running. It also displays how many people are on your server, the server version, and the server capacity. ...
Next