Quote:
|
Originally Posted by Slash-P2P
That's what I'm using right now. It only joins the bed. I guess join isn't a normal command...
|
I think that it is joining both, but whatever commands are in the bed class are overriding those of the chair class. The join command will execute, regardless of if the if statement it is nested in is true. I think the joins are executed before the rest of the script is run. Therefore, the string is nothing, and it is looking for a class ph_ (in your case).
NPC Code:
if (playerchats){
if (strequals(#c,join)){
join someclass;
}
}
This should join before you say anything.