about quest

smoochy boys on tour

Troyx

Dedicated Member
Dedicated Member
Sep 17, 2010
25
0
27
I make quest which gives you a pet
but some thing wrong and i cant discover it
Quest txt is
[@main]
#IF
CheckLevel 55
#ACT
goto @canmob
#ELSESAY
You are not level 55 yet

[@canmob]
#IF
CheckNameList foxdone.txt
#ACT
goto @done
#ELSEACT
goto @main1

[@done]
#IF
CheckJob wizard
#ACT
goto @wiz

#IF
Checkjob warr
#ACT
goto @war

#IF
CheckJob Taos
#ACT
goto @tao

[@wiz]
#IF
CheckSlaveCount >2
#ACT
Recallmob WizFox
#ELSESAY
You have too many pets you cant get ur fox .


[@war]
#IF
CheckSlaveCount >1
#ACT
Recallmob WarFox
#ELSESAY
You have too many pets you cant get ur fox .

[@tao]
#IF
CheckSlaveCount >2
#ACT
Recallmob TaoFox
#ELSESAY
You have too many pets you cant get ur fox .

[@main1]
#IF
CheckNameList fox.txt
#ACT
goto @finish
#ELSEACT
goto @new

[@finish]
#IF
CheckItem warpiece
CheckItem wizpiece
CheckItem Taopiece
#ACT
Take warpiece 1
take wizpiece 1
take taopiece 1
addnamelist foxdone.txt
#ELSESAY
its still pieces missed collect them and try again

[@new]
#SAY
Hello,<$USERNAME>, There is Agood Pet For You \
If You need it You have To get For Me :\
WarPiece And WizPiece And TaoPiece\
<Are You Sure You Can Go There ?/@Go>\
<No Iam Not Ready Now/@Exit>\
[@Go]
#IF
CheckLevel 55
#ACT
addnamelist fox.txt
MapMove f009 58 52
Take TownTeleport
give townteleport
break
<Exit/@exit>
but when i finish the quest and get all pieces its say
You have too many pets you cant get ur fox .

any advice ??
 

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
145
[@main]
#IF
CheckLevel 55
#ACT
goto @canmob
#ELSESAY
You are not level 55 yet

[@canmob]
#IF
CheckNameList foxdone.txt
#ACT
goto @done
#ELSEACT
goto @main1

[@done]
#IF
CheckJob wizard
#ACT
goto @wiz

#IF
Checkjob warr
#ACT
goto @war

#IF
CheckJob Taos
#ACT
goto @tao

[@wiz]
#IF
CheckSlaveCount >2
#ACT
Recallmob WizFox 1 (How many to spawn) 1 (What level it is)
#ELSESAY
You have too many pets you cant get ur fox .


[@war]
#IF
CheckSlaveCount >1
#ACT
Recallmob WarFox 1 1
#ELSESAY
You have too many pets you cant get ur fox .

[@tao]
#IF
CheckSlaveCount >2
#ACT
Recallmob TaoFox 1 1
#ELSESAY
You have too many pets you cant get ur fox .

[@main1]
#IF
CheckNameList fox.txt
#ACT
goto @finish
#ELSEACT
goto @new

[@finish]
#IF
CheckItem warpiece 1 (Check how many is needed)
CheckItem wizpiece 1
CheckItem Taopiece 1
#ACT
Take warpiece 1
take wizpiece 1
take taopiece 1
addnamelist foxdone.txt
#ELSESAY
its still pieces missed collect them and try again

[@new]
#SAY
Hello,<$USERNAME>, There is Agood Pet For You \
If You need it You have To get For Me :\
WarPiece And WizPiece And TaoPiece\
<Are You Sure You Can Go There ?/@Go>\
<No Iam Not Ready Now/@Exit>\
[@Go]
#IF
CheckLevel 55
#ACT
addnamelist fox.txt
MapMove f009 58 52
Take TownTeleport 1
give townteleport 1
break
<Exit/@exit>

Im not sure if its CHECKLEVELEX Or CHECKLEVEL. Also i think you need either.. > 55 Means over 55. < 55 Means under 55. = 55 Means wright on 55 if the player is 56 carnt use.

Hope this helps :)
 
Upvote 0

JealY

LOMCN VIP
VIP
Nov 28, 2004
5,354
52
305
England
CheckSlaveCount >2

This is checking if you have a slave count greater than 2, I think you're looking for "<", it should also have a space, like so;

Code:
CheckSlaveCount < 2

This will return true if the user has 1 pet.
 
Last edited:
Upvote 0