Quote:
Originally posted by haunter
NPC Code:
If (playersays(artic banana) {playerx=(x); playery=(y);}
Or
NPC Code:
If (playerchats && strequals(#c,artic banana) {playerx=(x); playery=(y);}
Take out the "(y)"s and replace them with the y co-ordinate you want to warp to, and do the same for the "(x)"s except for your x co-ordinate
|
missing the end ) in the if statements