Thread: if i say
View Single Post
  #2  
Old 03-18-2002, 04:39 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Re: if i say

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
Reply With Quote