Palace Planet the Palace Chat community Portal: Allscray Guide Allscray Guide ================================================================================ Lord Stelanthin on 18/04/2009 00:34:00 ALLSCRAY GUIDE V2.1 By Lord Stelanthin Allscray Basics A few basics to know before using allscray. Allscray Room Scripts The scripts to be placed in a room necessary for allscray to be used. Allscray Cyborg Scripts Scripts to place in your cyborg which use allscray. *Allscray Commands Chat Commands Controlling what others say. Visual Commands Controlling how people look and/or what they see. Location Commands Controlling the location of a user, including his web browser and other applications. Sound Commands Controlling what a user hears. Wizard War Commands Hehe, guess. Misc. Commands Everything not covered above. Quick List List of the most commonly used allscray commands. Commands you can say right from the chat window. Reference Places where I got the info to make this doc. ALLSCRAY: Basic things to keep in mind: *A badge * must be worn to use allscray. *Using AO will affect others and not you. (Allscray Others) *Using AS and ALLSCRAY will affect everyone (including you, Allscray Self) *Always whisper if you want the allscray command to affect only one person. *Allscray commands must always begin with a ; *You must be in the same room as the person you are trying to use allscray on. *As with many things a wiz can do, please do not abuse allscray. *I do not recommend using all of these, they are merely ones I have used successfully. *Always test allscray commands you may come up with and are unsure of the outcome in a personal server, where a server crash and/or lag will not affect anything. *One way to think of allscray is like a "walking zombie room." What your in en essence doing is making another user perform an action which you wish. The rules that apply to room scripts apply to allscray. *You cannot make a user do something he/she cannot already do. For instance doing a ;ao "’pin " USERNAME + SAY will cause wizards to pin themselves. This will not affect non-wizards since they do not have the ability to pin. *There are allscray scripts that allow non-wizards to use allscray, so be wary of any server you know of which allows this. *If ya come up with more commands go ahead and let me (Stelanthin) know and I’ll add em to this list. *If you wish to change this doc please do not continue my version number system going as I use this to be sure people have the latest revisions. Contents Allscray Room Scripts GATE SCRIPT FOR ALLSCRAY This must be placed in the gate. ON SIGNON { xDoIt GLOBAL nDoIt GLOBAL { { "$1" GREPSUB STRTOATOM EXEC } CHATSTR "^;as (.*)" GREPSTR IF { "$1" GREPSUB STRTOATOM EXEC } CHATSTR "^;ao (.*)" GREPSTR WHOCHAT WHOME == NOT AND IF { "$1" GREPSUB STRTOATOM EXEC } CHATSTR "^;*allscray (.*)" GREPSTR IF } xDoIt DEF { xDoIt GLOBAL { xDoIt EXEC } WHOCHAT WHONAME "^[*]" GREPSTR IF } nDoIt DEF } ALLSCRAY ROOM SCRIPT This must be placed in each room allscray will be used, including the gate. ON INCHAT { nDoIt GLOBAL nDoIt EXEC } ALTERNATE ALLSCRAY ROOM SCRIPT This can be put in any room allscray will be used, no gate script necessary. ON INCHAT { { { "$1" GREPSUB STRTOATOM EXEC } CHATSTR "^;*as (.*)" GREPSTR IF { "$1" GREPSUB STRTOATOM EXEC } CHATSTR "^;*ao (.*)" GREPSTR WHOCHAT WHOME == NOT AND IF } WHOCHAT WHONAME "^[*]" GREPSTR IF } Contents Allscray Cyborg Scripts CYBORG ALLSCRAY SCRIPTS These are all ON OUTCHAT scripts and all require allscray to be installed on the server. Normal allscray rules apply to all of these. Dress a person in the av you are wearing: ;routine to use allscray to give someone your av- by Foxy { "$1" GREPSUB avname = "" CHATSTR = ";ao [ " 0 tbl = { tbl USERPROP ITOA + " " + tbl ++ } {tbl NBRUSERPROPS == NOT } WHILE " ] SETPROPS" + CHATSTR = } CHATSTR "giveav" == IF Contents Allscray Chat Commands Checking for lag: I would keep with using the word ping. It seems more official and users will not realize you are making them say something, rather they tend to think it’s a wiz command. ;ao "Ping" SAY Or ;ao "Ping" CHAT Have a user say how many props there are in the av they are wearing. ;ao NBRUSERPROPS ITOA tempVar = "NBRUSERPROPS = " tempVar & "." & SAY Have a user say what their userID is: ;ao "Some call me " WHOME ITOA & SAY Have a user say what their username is: ;ao "Some call me " USERNAME + SAY Have a user mute a certain person (Stelanthin in this case): ;ao "`mute Stelanthin" SAY Have user personally tell Lord Stel he agrees with him: ;ao "I " WHOCHAT WHONAME & " bow to Lord Stel’s wisdom once again." & SAY Place a message on the rooms status bar (where it usually shows the # of people): ;ao "Hello room" STATUSMSG Removing offensive ^signs: ;ao 0 0 MOVE Contents Allscray Visual Commands Change the lighting level for a user: DIMROOM uses a number between 1 and a 100.. the lower the number the darker it gets. Dimroom will also stop midis from playing on pcs. ;ao 60 DIMROOM Change the spotstate of a spot in the room. You must know the spot ID and know what state you want to move it to. This can be useful for bringing up a certain pic in a room for just one person. ;ao 1 1 SETPSPOTSTATELOCAL Place certain props on a user: The best way to actually use this one is to copy from propspot (if you have it in your cyborg) If you use the prop id you do not need the quotes. The prop id is the best way to be sure this works rather than prop name. ;ao [ "Beanie" "Beagle Puss" "Wine Bottle" "Cig" ] SETPROPS ;ao [ 919827921 ] SETPROPS Place the last prop a person put on at a specified spot in the room. The numbers are where you want the prop to go. ;ao 50 50 DROPPROP Removing head-sitters without having to `pin them: ;ao -44 0 MOVE Rotate user through their macros: Be very careful with this one, it usually considered invasion of privacy, and often will turn up an adult av or two. ;ao { i ITOA " MACRO" & STRTOATOM i 60 * ALARMEXEC i ++ } { i 10 < } WHILE Scatter the props a person is wearing randomly in the room. ;ao { 400 RANDOM 300 RANDOM DROPPROP } { TOPPROP } WHILE Set user to a specified color: This is a number between 0 and 15 used to set the color of a user’s ball. ;ao 1 SETCOLOR Set user to a specified face: This is a number between 0 and 15 used to set the expression on a user’s ball. ;ao 1 SETFACE Set user to a specified macro: Set a user to another macro, be careful, you never know what they will have saved as macros. ;ao 1 MACRO Take the props off a user without using propgag: ;ao NAKED or ;ao CLEARPROPS Take the props off a user one prop at a time: This starts with the last prop they put on, and goes till the first prop they put on each time you say this command. ;ao DOFFPROP Contents Allscray Location Commands Have a user tell you what their current x/y location is in the room. ;ao WHOME WHOPOS SWAP ITOA tempY = ITOA tempX = "My current x/y pos is '" tempX & "' '" & tempY & "'." & SAY Randomly throws a user around the room 16 times while saying "uh" each time: ;ao { { 22 468 RANDOM + 22 340 RANDOM + SETPOS i SETCOLOR "Uh!" SAY } i 45 * ALARMEXEC i ++ } { i 16 < } WHILE Send user to another palace: ;ao "palace:// Sanctuaryrealm.com " NETGOTO or ;ao "palace:// Sanctuaryrealm.com " GOTOURL Send user to another room: ;ao 200 GOTOROOM Send users to a specified spot in the room: ;allscray 256 44 SETPOS Send user to a website: ;ao " http://www.sanctuaryrealm.com/" NETGOTO Contents Allscray Sound Commands Force everyone to download a sound from the server: In order for this to work the sound must be in place at the server for d/l and must have the three letter file extension removed, same procedure as for room scripts. ;as "feareapr" SOUND Play a wav for everyone This is really kinda reduntant, cause ya can go )sound instead. ;as "no" SOUND Play a midi for everyone This method will work for the palace midis which no longer have the .mid extension. ;as "feareapr" MIDIPLAY Stop midis for all users in a room: ;ao MIDISTOP Contents Allscray Wizard War Commands Have a wizard pin him/herself: ;ao "’pin " USERNAME + SAY Have a wizard pin someone else: Note: you must specify the exact name of the pin recipient where I placed the word "target." ;ao "’pin target" SAY Contents Allscray Misc. Commands Test to see who has a PC or a Mac: ;allscray "I use a " { "Mac" } { "PC" } DATETIME 0 < IFELSE & SAY Lock up a users client: This really does lock up a person’s client for specified time. The number 1 in this command is equal to about 1/20 of a second. ;ao 100 DELAY Send user to the corner with a bit of style: ;ao 500 369 SETPOS [ "ChainsS" ] SETPROPS "Thank-You Lord Stel, May i have another?" SAY ;ao 8 367 SETPOS [ "ChainsS" ] SETPROPS "Thank-You Lord Stel, May i have another?" SAY ;ao 9 3 SETPOS [ "ChainsS" ] SETPROPS "Thank-You Lord Stel, May i have another?" SAY ;ao 499 8 SETPOS [ "ChainsS" ] SETPROPS "Thank-You Lord Stel, May i have another?" SAY Contents Allscray Quick List Check for lag: ;ao "pin" say Contents References Iptscrae Language Guide – Iptscrae commands reference guide. Palace Wizard Guide – Reference of wizard commands. X’s Wiz Trix – Basic allscray info Contents