Quote:
Originally posted by Xaviar
Why on earth did you need to use a string?
|
um I do not need to

but I just wanted to show an easy example... but if u want it another way...
//show stat if player enters
if(playerenters){
if(save[0]==0){message Door closed;}
else {message Door open;}
}
//What happens if touched
if(playertouchsme){
if(save[0]==1){setlevel2 level,x,y;}
else {say2 Closed go away!;}
}
//changing stat
if(playerchats && strequals(#a,Account)){
if(strequals(#c,open)){
save[0]=1;
message Door open;
}
if(strequals(#c,close)){
save[0]=0;
message Door closed
}
}
just an easy example too but should work
