Hello, ive been trying to make a NPC which load's other txt's so i dont have to write a very very long script. ii want to make it so it load's Weps arms and accesorie's, but not all together,
this is what i have, i got Heal to work, but non of the rest are working.
this is what i have, i got Heal to work, but non of the rest are working.
Code:
[@MAIN]
#IF
checkpkpoint 2
#SAY
I will not help an evil person like you..\ \
<[EMAIL="Ok/@exit"]Ok/@exit[/EMAIL]>
#ELSEACT
goto @main-1
[@main-1]
#SAY
</FCOLOR=70>£º</FCOLOR=191> \ \
<[EMAIL="Storage/@store"]Storage/@store[/EMAIL]> <[EMAIL="Weapon/@wep>\"]Weapon/@wep>\[/EMAIL]
<[EMAIL="Potion/@pot"]Potion/@pot[/EMAIL]> <[EMAIL="Healer/@healer>\"]Healer/@healer>\[/EMAIL]
<Pet [EMAIL="Rental/@pet"]Rental/@pet[/EMAIL]> <[EMAIL="Accesories/@acces>\"]Accesories/@acces>\[/EMAIL]
<[EMAIL="Armours/@arm"]Armours/@arm[/EMAIL]> <[EMAIL="Books/@book>\"]Books/@book>\[/EMAIL]
<[EMAIL="Groceries/@groc"]Groceries/@groc[/EMAIL]> <[EMAIL="Lottery/@lott>\"]Lottery/@lott>\[/EMAIL] \
</FCOLOR=70>£º</FCOLOR=191> \
[@store]
#ACT
GOTO @1
[@pot]
#ACT
GOTO @2
[@pet]
#ACT
GOTO @3
[@arm]
#ACT
GOTO @4
[@groc]
#ACT
GOTO @5
[@wep]
#ACT
GOTO @6
[@healer]
#ACT
GOTO @healer1
[@acces]
#ACT
GOTO @8
[@book]
#ACT
GOTO @9
[@lott]
#ACT
GOTO @10
[@1]
#CALL [\Common\Storage.txt] @store
[@2]
#CALL [\Common\Potions.txt] @pot
[@3]
#CALL [\Common\PetRenter.txt] @pet
[@4]
#CALL [\Common\Armours.txt] @arm
[@5]
#CALL [\Common\Groceries.txt] @groc
[@6]
#CALL [\Common\Weapons.txt] @wep
[@healer1]
#CALL [\Common\Healer.txt] @heal
[@8]
#CALL [\Common\Accesories.txt] @acces
[@9]
#CALL [\Common\Books.txt] @book
[@10]
#CALL [\Common\Lottery.txt] @lott
