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 04-02-2007, 10:28 AM
LJ©'s Avatar
Palace User
 
Join Date: Mar 2007
Location: Brisbane, Australia
Posts: 12
Rep Power: 0
LJ© is on a distinguished road
Icon3 CloakRoom Script - add 2 your Prop Rooms?

This is a SERVER Script designed to store the avatars of up to 3 Roomusers.
It will REDRESS every user into the avatar they entered the room with, upon leaving that room.

Suggested Use... Prop Rooms... That way as you cruise through endless prop rooms trying on everything [if this is installed] when you leave each prop room, you leave wearing the av you came in with.

NOTE:- Sometimes scripts can leave things open to abuse by those peoples what know a little too much Iptscrae, and not enough about manners.
I believe I have this covered by clearing out the variables that store avatar info as soon as they are finished with.

HOWEVER - AS AN ADDITIONAL PRECAUTION, I DO SUGGEST THAT YOU CHANGE THE GENERIC VARIABLE NAMES I HAVE USED FOR "dressa", "dressb", "dressc" and "avatar".
If you use notepad, click Edit > Replace.
Replace all instances of "avatar" with 6 letters of your choice.
Replace all instances of "dress" [leave the a,b,c character alone] with 5 letters of your choice. Scrambled letters are IDEAL.

I'm a belts AND braces kinda guy....

Code:
; LJ©'s AV Cloakroom Script Ver 5.98b
;This is a SERVER Script designed to store the avatars of up to 3 Roomusers.
;It will REDRESS every user into the avatar they entered with, upon leaving.
;Suggested Use... Prop Rooms... 
;start of LJ's AV Closet part 1 of 2
ON LEAVE{
avatar GLOBAL
dressa GLOBAL
dressb GLOBAL
dressc GLOBAL
{  dressa avatar = } 0 ROOMUSER WHOME == IF
{  dressb avatar = } 1 ROOMUSER WHOME == IF
{  dressc avatar = } 2 ROOMUSER WHOME == IF
NAKED
"[" avatar + "] SETPROPS" + STRTOATOM EXEC
;this section is a precaution to delete all stored avatars
{  dressa avatar = } 0 ROOMUSER WHOME == IF
{  dressb avatar = } 1 ROOMUSER WHOME == IF
{  dressc avatar = } 2 ROOMUSER WHOME == IF
;added this to satisfy my paranoia
{ ;Last persons leaving - clear the lot
  dressa 0 =
  dressb 0 =
  dressc 0 = 
  avatar 0 = } NBRROOMUSERS 1 == IF
;end precaution
}
;end of LJ's AV Closet part 1 of 2
;########################################
;start of LJ's AV Closet part 2 of 2 
;Version 5.98b. Problems? ICQ - 1903368
ON ENTER{
avatar GLOBAL
dressa GLOBAL
dressb GLOBAL
dressc GLOBAL
 "" avatar =
{     " " topprop itoa + theprop =
      theprop avatar + avatar =
      WHOME DOFFPROP            
                     } { TOPPROP } WHILE
{  avatar dressa = } 0 ROOMUSER WHOME == IF  
{  avatar dressb = } 1 ROOMUSER WHOME == IF
{  avatar dressc = } 2 ROOMUSER WHOME == IF
;this section is a precaution to delete saved avatar from avatar variable
avatar 0 =
;we don't want members stealing avs via iptscrae
}
;end of LJ©'s Av Closet Part 2 of 2
I have added the 'clear' variables bit as an afterthought...
The version prior to that worked fine, and I'm certain this will to.

I am sure its all good.
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
Command prop drop script. r_leeds2003 Scripting Help 2 12-14-2009 09:23 PM
Prop Id Script Needed SkyDiamond Scripting Help 9 05-06-2006 10:42 AM
needs...prop generator script EGOxSUiCiDE Scripting Help 1 03-12-2006 03:06 PM
looking for a prop locker script neko Scripting Help 0 02-20-2006 01:40 AM
Need a Prop Drop Script KattB Palace Builders 0 08-30-2005 06:45 AM

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: 69
0 members and 69 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 12:44 PM.


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