How does this look?

smoochy boys on tour

strido

LOMCN Veteran
Veteran
Nov 20, 2006
421
0
62
not really done an NPC b4, and wanted to give it a try
this is what i came up with


[@main]
#say
Hello <$USERNAME>.\\
Are you looking to buy a pet?\\
<yes/@yes> <no/@exit>
[@yes]
#say
What level are you?\\
<0-20/@goto1> <20-30/@goto2> <30-40/@goto3> <40+/@goto4>
[@goto1]
#say
You can have a Tongs for 5k
<buy/@buy> <No Thanks/@exit>
[@buy]
#IF
checkgold 5000
CHECKSLAVECOUNT 0
#elsesay
Don't Lie to me!\
<Sorry/@exit>\\
#act
takegold 5000
RECALLMOB Tongs 1 60 0 1
[@goto2]
#say
You can have a Flamingwooma for 20k
<buy/@buy2> <No Thanks/@exit>
[@buy2]
#IF
checkgold 20000
CHECKSLAVECOUNT 0
checklevel 20
#elsesay
Don't Lie to me!\
<sorry/@exit>\\
#act
takegold 20000
RECALLMOB Flamingwooma 1 60 0 1
[@goto3]
#say
You can have a Eviltongs for 40k
<buy/@buy3> <No Thanks/@exit>
[@buy3]
#IF
checkgold 40000
CHECKSLAVECOUNT 0
checklevel 30
#elsesay
Don't Lie to me!\
<Sorry/@exit>\\
#act
takegold 40000
RECALLMOB Eviltongs 1 60 0 1
[@goto4]
@say
You can have a Swordoma for 60k
<buy/@buy4> <No Thanks/@exit>
[@buy4]
#IF
checkgold 60000
CHECKSLAVECOUNT 0
checklevel 40
#elsesay
Don't Lie to me!\
<Sorry/@exit>\\
#act takegold 60000
RECALLMOB Swordoma 1 60 0 1
 
Last edited:

Akuma

Golden Oldie
Golden Oldie
Dec 6, 2006
628
15
125
[@main]
Hello <$USERNAME>. How are you today\\
Are you looking to buy a pet?\\
<yes/@yes> <no/@exit>

[@yes]
#IF
checklevel < 20
#ACT
goto @goto1
#IF
checklevel < 30
checklevel > 20
#ACT
goto @goto2
#IF
checklevel < 40
checklevel > 30
#ACT
goto @goto3
#IF
checklevel > 40
#ACT
goto @goto2
[@goto1]
#say
You can have a Tongs for 5k
<buy/@buy> <No Thanks/@exit>

[@buy]
#IF
checkgold 5000
CHECKSLAVECOUNT = 0
#ACT
takegold 5000
RECALLMOB Tongs 1 60 0 1
#elsesay
Don't Lie to me!\
<Sorry/@exit>\\

[@goto2]
#say
You can have a Flamingwooma for 20k
<buy/@buy2> <No Thanks/@exit>

[@buy2]
#IF
checkgold 20000
CHECKSLAVECOUNT = 0
#act
takegold 20000
RECALLMOB Flamingwooma 1 60 0 1
#elsesay
Don't Lie to me!\
<sorry/@exit>\\


[@goto3]
#say
You can have a Eviltongs for 40k
<buy/@buy3> <No Thanks/@exit>

[@buy3]
#IF
checkgold 40000
CHECKSLAVECOUNT = 0
#act
takegold 40000
RECALLMOB Eviltongs 1 60 0 1
#elsesay
Don't Lie to me!\
<Sorry/@exit>\\


[@goto4]
@say
You can have a Swordoma for 60k
<buy/@buy4> <No Thanks/@exit>

[@buy4]
#IF
checkgold 60000
CHECKSLAVECOUNT = 0
#act takegold 60000
RECALLMOB Swordoma 1 60 0 1
#elsesay
Don't Lie to me!\
<Sorry/@exit>\\


VirUs
 
Upvote 0