LJ©
04-02-2007, 11:28 AM
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 when you leave each prop room, you leave wearing the av you came in with.
[I]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.
:confused: I'm a belts AND braces kinda guy....
; 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
:confused: 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.
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 when you leave each prop room, you leave wearing the av you came in with.
[I]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.
:confused: I'm a belts AND braces kinda guy....
; 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
:confused: 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.