Well
[@main]
<Enter text here> Use \ to go a row down as pressing enter won't work.
After you finished text you put \\
<Teleport/@tp>\
<No thank you/@exit>\
[@tp]
Choose where you want to teleport.\\\
<cavename/@omacave>
<Cavename/@bwmines>
<cavename/@pastbichon>
[@omacave]
#IF
#ACT
mapmove <mapname> <coords>
[@bwmines]
#IF
#ACT
mapmove <Mapname> <Coords>
If you new to scripting.
/@random>
You can put everything there but to work you need to do a
[@random]
#IF
#ACT
Also the txt that contains this script should be in NPC_Def folder in Envir.
There you renamed the text document to (Name)-(Map it's on)
Eg: Jeffrey-0 (Map 0 is Bichon)
In NPC.txt you have another npc's , take them as an example how to register a new one.
<Name> <0> <Mapname> <coords x> <coords y>