- WirenAdmin
- User Verification :
- Verified
Age : 30
Posts : 9
Reputation : 1
Join date : 2019-01-10
Job/hobbies : Dream Weaver/Programmer/Third Party Developer
Debug Script
Fri Jan 11, 2019 6:41 am
Here is my debug script used in 90% of my dreams. Feel free to use/modify as needed. Enjoy.
*Instructions
* Copy And Paste Script Into Your DS Script
*
* Noclip allows you to walk through everything in your dream
*
* !item #, !floor #, !effect #, !region #, !ambience #, !lighting #, all spawn the item you say after the command.
* Example: !item 2 would spawm item 2 under your.
*
* Position stats will give you the readout of everything under your feet or under the x,y you specific.
* Example: !myposition will give you stats of where you are standing, saying !checkposition 30 256 will give you the stats on position 30,256.
*
* Teleport Commands Make It Easier for you to move around your dream.
* Example: !goto Wiren would send me near Wiren, as !bringtome Wiren would bring Wiren to me. !hop 5 would move me forward 5 steps the direction I'm facing, only if it is walkable.
*
* Feature tests are similar to the spawning script. It allows you to test features by using commands.
* Example: !sound # tests a sound, !music # tests a music file, !localtest # tests a local, !localoff turns off the local, !timer # sets off a timer, !shake # # # # sets off a screen shake, in the order of, shake style, shake seconds, shake speed, and shake intensity. 4 numbers instead of 1. !inside # sets the starting inside region, and !outside, makes all regions outside regions.
*
* DS Button Position is used to position buttons in the dream, so you don't have to mess with skin editor since it doesn't read 32bit files.
* Example: !buttons # selects the button and shows it, !buttonx # sets the button's x position, !buttony # sets the button's y position, and !buttonr gives you the readout and hides the button.
*Instructions
* Copy And Paste Script Into Your DS Script
*
* Noclip allows you to walk through everything in your dream
*
* !item #, !floor #, !effect #, !region #, !ambience #, !lighting #, all spawn the item you say after the command.
* Example: !item 2 would spawm item 2 under your.
*
* Position stats will give you the readout of everything under your feet or under the x,y you specific.
* Example: !myposition will give you stats of where you are standing, saying !checkposition 30 256 will give you the stats on position 30,256.
*
* Teleport Commands Make It Easier for you to move around your dream.
* Example: !goto Wiren would send me near Wiren, as !bringtome Wiren would bring Wiren to me. !hop 5 would move me forward 5 steps the direction I'm facing, only if it is walkable.
*
* Feature tests are similar to the spawning script. It allows you to test features by using commands.
* Example: !sound # tests a sound, !music # tests a music file, !localtest # tests a local, !localoff turns off the local, !timer # sets off a timer, !shake # # # # sets off a screen shake, in the order of, shake style, shake seconds, shake speed, and shake intensity. 4 numbers instead of 1. !inside # sets the starting inside region, and !outside, makes all regions outside regions.
*
* DS Button Position is used to position buttons in the dream, so you don't have to mess with skin editor since it doesn't read 32bit files.
* Example: !buttons # selects the button and shows it, !buttonx # sets the button's x position, !buttony # sets the button's y position, and !buttonr gives you the readout and hides the button.
- Code:
[Debug
[!debug
(0:31) When a player says {!debug},
(1:11) and they have got shared control (or is the Dream owner),
(5:200) {<b>Debug DS Commands:</b>}.
(5:200) emit message {<b>Live Change:</b> !ambience !effect !floor !item !lighting !region !noclip !noclipoff !inside !outside} to the triggering furre.
(5:200) emit message {<b>DS Button Positioning:</b> !buttons !buttonx !buttony !buttonr} to the triggering furre.
(5:200) emit message {<b>Movement:</b> !hop !bringtome !goto} to the triggering furre.
(5:200) emit message {<b>Dream Test:</b> !sound !music !localtest !localoff !timer !shake(4 Number Input)} to the triggering furre.
(5:200) emit message {<b>Basic Dream Info:</b> !myposition} to the triggering furre.
]
[Noclip
(0:31) When someone says {!noclip},
(1:11) and they have got shared control (or is the Dream owner),
(5:300) set variable %noclip to 1
(0:1) Whenever somebody moves,
(1:11) and the triggering player has got shared control (or is the dream owner),
(1:104) and they didn't bump into a player,
(1:105) and they were blocked from moving (or stood still),
(1:200) and variable %noclip is equal to 1.
(5:199) stop letting furres move through impassable stuff in region %noclipregion.
(5:351) set variable %noclip_loc to the X,Y position the triggering player moved to.
(5:320) set variable %noclipregion to the region number (%noclip_loc) is part of.
(5:198) let furres move through all impassable floors, items & walls in region %noclipregion.
(0:31) When someone says {!noclipoff},
(1:11) and they have got shared control (or is the Dream owner),
(5:199) stop letting furres move through impassable stuff in region %noclipregion.
(5:300) set variable %noclip to 0
]
[Map Object Generate
(0:32) When someone says something with {!item} in it,
(1:11) and they have got shared control (or is the Dream owner),
(5:314) set variable %item to the number the triggering furre just said or emoted.
(3:5) where the triggering furre is at, not moving,
(5:4) place item %item.
(0:32) When someone says something with {!floor} in it,
(1:11) and they have got shared control (or is the Dream owner),
(5:314) set variable %floor to the number the triggering furre just said or emoted.
(3:5) where the triggering furre is at, not moving,
(5:1) set the floor to %floor.
(0:32) When someone says something with {!effect} in it,
(1:11) and they have got shared control (or is the Dream owner),
(5:314) set variable %effect to the number the triggering furre just said or emoted.
(3:5) where the triggering furre is at, not moving,
(5:150) place overlay effect %effect.
(0:32) When someone says something with {!region} in it,
(1:11) and they have got shared control (or is the Dream owner),
(5:314) set variable %region to the number the triggering furre just said or emoted.
(3:5) where the triggering furre is at, not moving,
(5:120) make this/these location(s) part of region %region.
(0:32) When someone says something with {!lighting} in it,
(1:11) and they have got shared control (or is the Dream owner),
(5:314) set variable %lighting to the number the triggering furre just said or emoted.
(3:5) where the triggering furre is at, not moving,
(5:155) place lighting %lighting.
(0:32) When someone says something with {!ambience} in it,
(1:11) and they have got shared control (or is the Dream owner),
(5:314) set variable %ambience to the number the triggering furre just said or emoted.
(3:5) where the triggering furre is at, not moving,
(5:225) place ambience %ambience.
]
[Position Stats
[!checkposition
(0:32) When a player says something with {!checkposition} in it,
(1:11) and they have got shared control (or is the Dream owner),
(5:255) set message ~positioncheck to what the triggering player just said or emoted.
(5:282) set variable %x to the first number in ~positioncheck.
(5:278) remove the first 1 copies of {%x} from message ~positioncheck.
(5:282) set variable %y to the first number in ~positioncheck.
(5:384) set variable %positionstats to the x,y position (%x,%y).
(5:330) set variable %currenteffect to the effect overlay value at (%positionstats).
(5:331) set variable %currentlighting to the lighting type at (%positionstats).
(5:332) set variable %currentambience to the ambience type at (%positionstats).
(5:320) set variable %currentregion to the region number (%positionstats) is part of.
(5:380) set variable %currentfloor to the floor type at (%positionstats).
(5:381) set variable %currentitem to the item type at (%positionstats).
(5:382) set variable %currentwall to the wall type at (%positionstats).
(5:200) emit message {The Stats For Position(%positionstats.x, %positionstats.y) Are: Item No. %currentitem Floor No. %currentfloor Region No. %currentregion Effect No. %currenteffect Lighting No. %currentlighting Ambience No. %currentambience} to the triggering furre.
]
[!myposition
(0:31) When someone says {!myposition},
(1:11) and they have got shared control (or is the Dream owner),
(5:350) set variable %positionstats to the X,Y position the triggering furre (moved from/is standing at).
(5:330) set variable %currenteffect to the effect overlay value at (%positionstats).
(5:331) set variable %currentlighting to the lighting type at (%positionstats).
(5:332) set variable %currentambience to the ambience type at (%positionstats).
(5:320) set variable %currentregion to the region number (%positionstats) is part of.
(5:380) set variable %currentfloor to the floor type at (%positionstats).
(5:381) set variable %currentitem to the item type at (%positionstats).
(5:382) set variable %currentwall to the wall type at (%positionstats).
(5:200) emit message {The Stats For Your Current Position(%positionstats.x, %positionstats.y) Are: Item No. %currentitem Floor No. %currentfloor Region No. %currentregion Effect No. %currenteffect Lighting No. %currentlighting Ambience No. %currentambience} to the triggering furre.
]
]
[Teleport Commands
(0:32) When someone says something with {!hop} in it,
(1:11) and they have got shared control (or is the Dream owner),
(5:314) set variable %hop to the number the triggering furre just said or emoted.
(5:350) set variable %hop_loc to the X,Y position the triggering player (moved from/is standing at).
(3:5) where the triggering furre is at, not moving,
(5:19) move any furre present %hop step(s) forward (in the direction they're facing) if there's nobody already there.
(0:32) When someone says something with {!hop} in it,
(1:1100) and there's a player at (%hop_loc),
(1:11) and they have got shared control (or is the Dream owner),
(5:51) make any player standing at (%hop_loc) become the new triggering player.
(5:18) move the triggering player back where they came from.
(0:32) When someone says something with {!goto} in it,
(1:11) and they have got shared control (or is the Dream owner),
(5:255) set message ~goto to what the triggering furre just said or emoted.
(5:278) remove the first 1 copies of {[CMD] } from message ~goto.
(5:250) set message ~gotouser to {[furre]}.
(5:56) make the furre named {~goto} the new triggering furre, if they're in the Dream right now.
(5:350) set variable %goto to the X,Y position the triggering furre (moved from/is standing at).
(5:56) make the furre named {~gotouser} the new triggering furre, if they're in the Dream right now.
(5:15) move the triggering furre to (%goto), or to someplace nearby if it's occupied.
(0:32) When someone says something with {!bringtome} in it,
(1:11) and they have got shared control (or is the Dream owner),
(5:255) set message ~bringtome to what the triggering furre just said or emoted.
(5:278) remove the first 1 copies of {[CMD] } from message ~bringtome.
(5:350) set variable %bringtome to the X,Y position the triggering furre (moved from/is standing at).
(5:56) make the furre named {~bringtome} the new triggering furre, if they're in the Dream right now.
(5:15) move the triggering furre to (%bringtome), or to someplace nearby if it's occupied.
]
[Feature Tests
(0:32) When someone says something with {!sound} in it,
(1:11) and they have got shared control (or is the Dream owner),
(5:314) set variable %sound to the number the triggering furre just said or emoted.
(5:8) play sound %sound to the triggering furre.
(0:32) When someone says something with {!music} in it,
(1:11) and they have got shared control (or is the Dream owner),
(5:314) set variable %music to the number the triggering furre just said or emoted.
(5:30) play midi %music to the triggering furre.
(0:32) When someone says something with {!localtest} in it,
(5:314) set variable %localtest to the number the triggering furre just said or emoted.
(5:1200) change the triggering furre to localspecies %localtest.
(0:31) When someone says {!localoff},
(1:11) and they have got shared control (or is the Dream owner),
(5:1202) change the triggering furre back to their original species.
(0:32) When someone says something with {!timer} in it,
(1:11) and they have got shared control (or is the Dream owner),
(5:314) set variable %timer to the number the triggering furre just said or emoted.
(5:50) set countdown timer %timer to go off in 2 seconds.
(0:32) When someone says something with {!shake} in it,
(1:11) and they have got shared control (or is the Dream owner),
(5:250) set message ~shakestyle to {[param1]}.
(5:250) set message ~shakesec to {[param2]}.
(5:250) set message ~shakespeed to {[param3]}.
(5:250) set message ~shakeintensity to {[param4]}.
(5:282) set variable %shakestyle to the first number in ~shakestyle.
(5:282) set variable %shakesec to the first number in ~shakesec.
(5:282) set variable %shakespeed to the first number in ~shakespeed.
(5:282) set variable %shakeintensity to the first number in ~shakeintensity.
(5:420) shake the triggering furre's map in style %shakestyle, for %shakesec tenths of a second, with speed %shakespeed and intensity %shakeintensity. (see www.furcadia.com/dsparams for info)
(5:200) emit message {[hour]:[min]:[sec] Shaking Screen With Style %shakestyle, For %shakesec Tenths Of A Second, At Speed %shakespeed And Intensity %shakeintensity.} to the triggering player.
(0:32) When someone says something with {!size} in it,
(1:11) and they have got shared control (or is the Dream owner),
(5:314) set variable %size to the number the triggering player just said or emoted.
(3:5) where the triggering player is at, not moving,
(5:3443) make any player present scale to %size percent size.
(0:32) When someone says something with {!inside} in it,
(1:11) and they have got shared control (or is the Dream owner),
(5:314) set variable %indoor to the number the triggering player just said or emoted.
(5:122) treat all regions numbered %indoor and higher as 'indoors', and only show players there what's in that region.
(0:32) When someone says something with {!outside} in it,
(1:11) and they have got shared control (or is the Dream owner),
(5:123) treat all regions as 'outdoors', and show players all regions that are visible, all the time.
]
[DS Button Positioning
(0:32) When someone says something with {!buttons} in it,
(1:11) and they have got shared control (or is the Dream owner),
(5:314) set variable %dsbutton to the number the triggering furre just said or emoted.
(5:180) show the triggering furre's DragonSpeak Button %dsbutton.
(5:200) emit message {DS Button <b> %dsbutton </b> Selected.} to the triggering furre.
(0:32) When someone says something with {!buttonx} in it,
(1:11) and they have got shared control (or is the Dream owner),
(5:314) set variable %buttonx to the number the triggering furre just said or emoted.
(5:182) move the triggering furre's DragonSpeak Button %dsbutton to (%buttonx,%buttony).
(0:32) When someone says something with {!buttony} in it,
(1:11) and they have got shared control (or is the Dream owner),
(5:314) set variable %buttony to the number the triggering furre just said or emoted.
(5:182) move the triggering furre's DragonSpeak Button %dsbutton to (%buttonx,%buttony).
(0:31) When someone says {!buttonr},
(1:11) and they have got shared control (or is the Dream owner),
(5:200) emit message {DS <i>Button</i>:<b> %dsbutton </b><i>X</i>:<b> %buttonx </b><i>Y</i>:<b> %buttony </b>} to the triggering furre.
(5:181) hide the triggering furre's DragonSpeak Button %dsbutton.
]
]
Permissions in this forum:
You cannot reply to topics in this forum
|
|