NPC Script...Help plz

Borisi

LOMCN n00bie
Aug 27, 2005
8
0
12
Hi, can any 1 give me a NPC Script that will make a character move to a Map.

i.e : Make the NPC say "Hi" (username)
"Do you want to move to the (name of map)" (yes/no)
"Good Luck"
And then give the character a TownTeleport

Thankyou for your help...i did look on the Scripts but i'm still learning and not quite fully understanding them.
 

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
175
[@main]
#IF
#SAY
Hello <$USERNAME>\
\
Would you like to go to x map?\
<Yes please/@move>\
<No thanks/@exit>

[@move]
#IF
#ACT
GIVE TOWNTELEPORT 1
MAPMOVE mapref x y
#SAY
Good Luck


fill in the x map in the first bit

then in the second one change the mapref and the coordinates to what you want

the /@move is the links you see in NPC's
/@exit closes the dialogue box


Thats for 1.9, hope it helps
 
Upvote 0