
12-07-2001, 03:57 AM
|
Registered User
|
Join Date: Aug 2001
Location: Fairyland
Posts: 463
|
|
Quote:
Originally posted by TDO2000
mkay because I have no time it's a definated owner and not changeable
P2P
//show stat if player enters
if(playerenters){
if(strequals(#s(this.open),close)){message Door closed;}
else {message Door open;}
}
//What happens if touched
if(playertouchsme){
if(strequals(#s(this.open),open)){setlevel2 level,x,y;}
else {say2 Closed go away!;}
}
//changing stat
if(playerchats && strequals(#a,Account)){
if(strequals(#c,open)){
setstring this.open,open;
message Door open;
}
if(strequals(#c,close)){
setstring this.open,close;
message Door closed
}
}
|
Why on earth did you need to use a string? |
__________________
One by one, the penguins steal my sanity.
*cookie for Xaviar* --Originally posted by Tyhm
--Xaviar
A m e r i c a
|
|
|