Npc help pwease

Mu online season 21 - grand opening

halflife

Guest
Hey i need help, i made a pet renter but it does not seem to work heres the code p.s if it gets workign feel free to have =)

the problem is it staright away goes to @error =/

[@main]
#IF
checkmarry 1
#ACT
goto @error
#ELSESAY
Depending on the class you are the different\
pets you get\\
What class are you?\\
<Warrior/@warrior>\
<Wizzard/@wizzard>\
<Tao/@tao>\

[@error]
Sorry you are not permitted to use me. \
You Either clicked on thw wrong class or You have\
Your limit of pets \
<Exit/@exit>

[@wizzard]
#IF
checkjob wizzard
#SAY
Hey thier What woul you like to do?\
<Get Pet/@main-1>\
<See List of Pets/@list1>\\
<Close/@exit>
#ELSEACT
goto @error

[@list1]
#SAY
Ancestor Lvl 38 \
WareWolf Lvl 41 \
Guardian Lvl 42 \
EliteFamiliar Lvl 43 \
EliteVenom Lvl 44 \
EliteSpider Lvl 45\
MassElite Lvl 46\
FatalScorpion Lvl 48\




[@main-1]
#IF Checklevel 48
#SAY
<Ancestor/@bf> \
<WareWolf/@bf2> \
<Guardian/@bf3> \
<EliteFamiliar/@ef> \
<EliteVenom/@vf> \
<EliteSpider/@lf>
<MassElite/@wr> \
<FatalScorpion/@ps> \
#ELSEACT
goto @level46

[@level46]
#IF
Checklevel 46
#SAY
<Ancestor/@bf> \
<WareWolf/@bf2> \
<Guardian/@bf3> \
<EliteFamiliar/@ef> \
<EliteVenom/@vf> \
<EliteSpider/@lf>
<MassElite/@wr> \
#ELSEACT
goto @level45

[@level45]
#IF Checklevel 45
#SAY
<Ancestor/@bf> \
<WareWolf/@bf2> \
<Guardian/@bf3> \
<EliteFamiliar/@ef> \
<EliteVenom/@vf> \
<EliteSpider/@lf>
#ELSEACT
goto @level44

[@level44]
#IF Checklevel 44
#SAY
<Ancestor/@bf> \
<WareWolf/@bf2> \
<Guardian/@bf3> \
<EliteFamiliar/@ef> \
<EliteVenom/@vf> \
#ELSEACT
goto @level43

[@level43]
#IF Checklevel 43
SAY
<Ancestor/@bf> \
<WareWolf/@bf2> \
<Guardian/@bf3> \
<EliteFamiliar/@ef> \
#ELSEACT
goto @level42

[@level42]
#IF Checklevel 42
#SAY
<Ancestor/@bf> \
<WareWolf/@bf2> \
<Guardian/@bf3> \
#ELSEACT
goto @level41

[@level41]
#IF Checklevel 41
#SAY
<Ancestor/@bf> \
<WareWolf/@bf2>
#ELSEACT
goto @level38

[@level38]
#IF Checklevel 38
#SAY
<Ancestor/@bf> \
#ELSEACT
goto @no

[@no]
#Say
Sorry, you are not high enough to use this advanced Service. \ \
<Exit/@exit>

[@bf]
#IF
Checkmarry 1
#ACT
marry mob Ancesstor
#ELSEACT
marry mob Ancesstor
Close

[@bf2]
#IF
Checkmarry 1
#ACT
marry mob Warewolf
#ELSEACT
marry mob Warewolf
Close

[@bf3]
#IF
Checkmarry 1
#ACT
marry mob Guardian
#ELSEACT
marry mob Guardian
Close

[@ef]
#IF
Checkmarry 1
#ACT
marry mob EliteFamiliar
#ELSEACT
marry mob ElteFamiliar
Close

[@vf]
#IF
Checkmarry 1
#ACT
marry mob EliteVenom
#ELSEACT
marry mob EliteVenom
Close

[@lf]
#IF
Checkmarry 1
#ACT
marry mob EliteDpider
#ELSEACT
marry mob EliteSpider
Close

[@wr]
#IF
Checkmarry 1
#ACT
marry mob MassElite
#ELSEACT
marry mob MassElite
Close

[@ps]
#IF
Checkmarry 1
#ACT
marry mob FatalScorpion
#ELSEACT
marry mob FatalScorpion
Close





;;####################WARRIOR PETS#############################
;;#############################################################


[@warrior]
#IF
checkjob warrior
#SAY
Hey thier What woul you like to do?\
<Get Pet/@main-2>\
<See List of Pets/@list2>\\
<Close/@exit>
#ELSEACT
goto @error

[@list2]
#SAY
Ancestor Lvl 38 \
WareWolf Lvl 41 \
EliteSpider Lvl 43 \
MassElite Lvl 46 \
FatalScorpion Lvl 48 \\
<close/@exit>


[@main-2]
#IF
Checklevel 48
#SAY
<Ancestor/@bf> \
<WareWolf/@bf2> \
<EliteSpider/@lf>
<MassElite/@wr> \
<FatalScorpion/@ps> \
#ELSEACT
goto @level46

[@level46]
#IF
Checklevel 46
#SAY
<Ancestor/@bf> \
<WareWolf/@bf2> \
<EliteSpider/@lf>
<MassElite/@wr> \
#ELSEACT
goto @level43

[@level43]
#IF
Checklevel 43
SAY
<Ancestor/@bf> \
<WareWolf/@bf2> \
<EliteSpider/@lf>\
#ELSEACT
goto @level41

[@level41]
#IF
Checklevel 41
#SAY
<Ancestor/@bf> \
<WareWolf/@bf2> \
#ELSEACT
goto @level38

[@level38]
#IF
Checklevel 38
#SAY
<Ancestor/@bf> \
#ELSEACT
goto @no

[@tao]
#IF
checkjob taoist
#SAY
Hey thier What woul you like to do?\
<Get Pet/@main-1>\
<See List of Pets/@list1>\\
<Close/@exit>
#ELSEACT
goto @error
 

dragonheart

Dedicated Member
Dedicated Member
Jun 26, 2003
194
0
93
isle of wight
heres my pet rental perhaps u could adat it to yours
[@Main]
#IF
checkpkpoint 2
#SAY
I do not serve Pks. So why dont you bug off!\
<Exit/@exit>
#ELSEACT
goto @main-1

[@main-1]
Hello <$USERNAME> want to buy a pet?\
Each pet will cost you gold.\
You only can have 5 pets!\ \
<I`ll like to buy one please./@buybaby>\
<You cruel FrEaK!/@exit>\

[@buybaby]
Choose one\ \
<LowLevelPet/@LOWCheck> <MidLevelPet/@MIDCheck> <HighLevelPet/@HIGHCHECK> <ExtremeLevelPet/@EXTREMECHECK>\\

<Exit/@exit>

[@LOWCheck]
#IF
CheckLevel 15
#SAY
Sorry, you are to high for these \\
#elseact
goto @LOW

[@LOW]
Choose your pet and i`ll tame the creature.\\
<Raking Cat(500gold)/@RakingCats> <ScareCrow(600gold)/@ScareCrows> <Skeleton(1k)/@Skeletons>\
<BoneFighter(1.5k)/@BoneFighters> <BoneWarrior(2k)/@BoneWarriors> <OmaWarrior(3k)/@OmaWarriors>\

[MIDCheck]
#IF
CheckLevel 28
#SAY
Sorry, you are to high for these.\\
#ELSEACT
goto @MID

[@MID]
#IF
Checklevel 15
#SAY
<RedSnake(1.2k)/@RedSnakes> <TigerSnake(1.1k)/@TigerSnakes> <OmaFighter(1k)/@OmaFighters> <Dung(1.5k/@Dungs>
<BoneElite(6k)/@BoneElites>
#ELSESAY
Sorry you are not the correct level\
<Exit/@Exit>\

[@HighCheck]
#IF
CheckLevel 40
#SAY
Sorry, you are to high for these.\\
#Elseact
goto @HIGH

[@HIGH]
#IF
CheckLevel 28
#SAY
<WoomaSoldier(2k)/@WoomaSoldiers> <WoomaFighter(2.2k)/@WoomaFighters> <WoomaWarior(3k)/@WoomaWarriors> <Tongs(1.5k)/@Tongs>\
<Centipede(1.5k)/@Centipedes> <BlackMaggot(2.5k)/@BlackMaggots> <WedgeMoth(1k)/@Wedgemoths>\
#Elsesay
Sorry,You are to low for these.\
<Exit/@Exit>\

[@ExtremeCheck]
#IF
CheckLevel 255
#SAY
What would a gm want these for lol?.\\
#Elseact
goto @Extreme

[@Extreme]
#IF
Checklevel 40
#Say
<WoomaTaurus(1Million)/@WoomaTauruss> <Minotaurus(2Million)/@Minotauruss> <EvilTongs(500k)/@EvilTongs>\
<KingTaurus(5milion)/@KingTauruss> <EvilApe(700k)/@EvilApes>

[@HIGH]
#IF
CheckLevel 28
#SAY
<WoomaSoldier(2k)/@WoomaSoldiers> <WoomaFighter(2.2k)/@WoomaFighters> <WoomaWarior(3k)/@WoomaWarriors> <Tongs(1.5k)/@Tongs>\
<Centipede(1.5k)/@Centipedes> <BlackMaggot(2.5k)/@BlackMaggots> <WedgeMoth(1k)/@Wedgemoths>\
#Elsesay
Sorry,You are to low for these.\
<Exit/@Exit>\

[@EvilApes]
#IF
Checkgold 700000
checkmarry 5
#ACT
take gold 700000
marry mob EvilApe
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@KingTauruss]
#IF
Checkgold 5000000
checkmarry 5
#ACT
take gold 5000000
marry mob KingTaurus
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@EvilTongs]
#IF
Checkgold 500000
checkmarry 5
#ACT
take gold 500000
marry mob EvilTongs
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@Minotauruss]
#IF
Checkgold 2000000
checkmarry 5
#ACT
take gold 2000000
marry mob Minotaurus
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@WoomaTauruss]
#IF
Checkgold 1000000
checkmarry 5
#ACT
take gold 1000000
marry mob WoomaTaurus
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@Wedgemoths]
#IF
Checkgold 1000
checkmarry 5
#ACT
take gold 1000
marry mob WedgeMoth
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@BlackMaggots]
#IF
Checkgold 2500
checkmarry 5
#ACT
take gold 2500
marry mob BlackMaggot
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@Centipedes]
#IF
Checkgold 1500
checkmarry 5
#ACT
take gold 1500
marry mob Centipede
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@Tongs]
#IF
Checkgold 1500
checkmarry 5
#ACT
take gold 1500
marry mob Tongs
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@WoomaWarriors]
#IF
Checkgold 3000
checkmarry 5
#ACT
take gold 3000
marry mob WoomaWarrior
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@WoomaFighters]
#IF
Checkgold 2200
checkmarry 5
#ACT
take gold 2200
marry mob WoomaFighter
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@WoomaSoldiers]
#IF
Checkgold 2000
checkmarry 5
#ACT
take gold 2000
marry mob WoomaSoldier
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@BoneElites]
#IF
Checkgold 6000
checkmarry 5
#ACT
take gold 6000
marry mob BoneElite
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@Dungs]
#IF
Checkgold 1500
checkmarry 5
#ACT
take gold 1500
marry mob Dung
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@OmaFighters]
#IF
Checkgold 1000
checkmarry 5
#ACT
take gold 1000
marry mob OmaFighter
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@TigerSnakes]
#IF
Checkgold 1100
checkmarry 5
#ACT
take gold 1100
marry mob TigerSnake
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@RedSnakes]
#IF
Checkgold 1200
checkmarry 5
#ACT
take gold 1200
marry mob RedSnake
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@RakingCats]
#IF
Checkgold 500
checkmarry 5
#ACT
take gold 500
marry mob RakingCat
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@ScareCrows]
#IF
Checkgold 600
checkmarry 5
#ACT
take gold 600
marry mob ScareCrow
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@Skeletons]
#IF
Checkgold 1000
checkmarry 5
#ACT
take gold 1000
marry mob Skeleton
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@BoneFighters]
#IF
Checkgold 1500
checkmarry 5
#ACT
take gold 1500
marry mob BoneFighter
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@BoneWarriors]
#IF
Checkgold 2000
checkmarry 5
#ACT
take gold 2000
marry mob BoneWarrior
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

[@OmaWarriors]
#IF
Checkgold 3000
checkmarry 5
#ACT
take gold 3000
marry mob OmaWarrior
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>
 

halflife

Guest
Yoink ill be usign that as a lowerl lvl pet renter =) but i still want my onw to work to >_<
 

Miles

LOMCN VIP
VIP
Mar 27, 2003
1,195
0
213
[@main]
#IF
checkmarry 1
#SAY
Depending on the class you are the different\
pets you get\\
What class are you?\\
<Warrior/@warrior>\
<Wizzard/@wizzard>\
<Tao/@tao>\
goto @error
#ELSEACT
goto @error

[@error]
Sorry you are not permitted to use me. \
You Either clicked on thw wrong class or You have\
Your limit of pets \
<Exit/@exit>

Try that m8, you had the @Error and the Say bit the wrong way round.

/Miles
 

sparkeh

Dedicated Member
Dedicated Member
Apr 23, 2004
149
0
42
One of 2 possibilities

Either: You already have a pet
Or: Your m2server doesn't have "checkmarry"
 

sparkeh

Dedicated Member
Dedicated Member
Apr 23, 2004
149
0
42
Miles said:
[@main]
#IF
checkmarry 1
#SAY
Depending on the class you are the different\
pets you get\\
What class are you?\\
<Warrior/@warrior>\
<Wizzard/@wizzard>\
<Tao/@tao>\
goto @error
#ELSEACT
goto @error

[@error]
Sorry you are not permitted to use me. \
You Either clicked on thw wrong class or You have\
Your limit of pets \
<Exit/@exit>

Try that m8, you had the @Error and the Say bit the wrong way round.

/Miles
Surely that way round, it will only let him get a pet if he already has at least one?
 

Miles

LOMCN VIP
VIP
Mar 27, 2003
1,195
0
213
sparkeh said:
Surely that way round, it will only let him get a pet if he already has at least one?

Nop, the way he had it he had to have at least one pet to get more eg.

[@EvilApes]
#IF
Checkgold 700000
checkmarry 5
#ACT
take gold 700000
marry mob EvilApe
#SAY
Here you go, enjoy the pet \ \
<I want to buy more./@buybaby>\ \
<Exit/@exit>
#ELSESAY
You dont have the right amount of gold or you already\
have 5 pets.\\
<Exit/@exit>

This checks if you dont have upto 5 pets (checkmarry 5) and if you dont have 5 pets if takes your gold and gives you a Mob, otherwise it shows you the other message. Its just a common mistake what he did, and i've also done it a couple of times >.<

/Miles