Quote:
Originally posted by Darkspector
how would i script somthin so that if i said "Artic Banana" it warp me to x,y
|
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