
12-07-2001, 12:25 AM
|
|
Registered User
|
 |
Join Date: Jul 2001
Location: Germany
Posts: 655
|
|
|
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
}
} |
__________________
No Webhost at the moment
|
|
|
|