View Single Post
  #4  
Old 12-07-2001, 12:25 AM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
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
Reply With Quote