taopetscript

Join Discord

K_Jonzy

Golden Oldie
Golden Oldie
Oct 8, 2008
590
15
125
My House
ok ive made this onto a command for @taopet
but im not sure if this is an actual command

"#ELSEIF"
because i dont think i cud put into a command

#if
checklevel 40
checkjob taoist
#act
recallmob ADVtaopet
#elseif
checklevel 20
checkjob taoist
recallmob taopet


thats a random layout but wud it work? i know its meant to have checkslavecount <1 or w/e but still will it work with elseif ?

edit:
i have changed it and put this in Q_function;

[@taopet]
#IF
CHECKSLAVECOUNT > 1
CHECKLEVEL 130
CHECKJOB TAOIST
#ACT
RECALLMOB ADVTaoPet 9 ( 1 = level of mob you can use 1 - 9)
sendmsg 6 "Heres the suitable pet for your level. <$USERNAME>."
#ELSEACT
goto @90

[@90]
CHECKSLAVECOUNT > 1
CHECKLEVEL 90
CHECKJOB TAOIST
#ACT
RECALLMOB TaoPet 9 ( 1 = level of mob you can use 1 - 9)
sendmsg 6 "Heres the suitable pet for your level. <$USERNAME>."
#ELSEACT
goto @60

[@60]
CHECKSLAVECOUNT > 1
CHECKLEVEL 60
CHECKJOB TAOIST
#ACT
RECALLMOB SkullCrusher 9 ( 1 = level of mob you can use 1 - 9)
sendmsg 6 "Heres the suitable pet for your level. <$USERNAME>."
#ELSEACT
goto @40

[@40]
CHECKSLAVECOUNT > 1
CHECKLEVEL 40
CHECKJOB TAOIST
#ACT
RECALLMOB BoneCollecter 9 ( 1 = level of mob you can use 1 - 9)
sendmsg 6 "Heres the suitable pet for your level. <$USERNAME>."
#ELSEACT
sendmsg 6 "You are not a tao or you allready have a pet <$USERNAME>."
Close

but its not working it just doesnt spawn anything, but it also doesnt say "@taopet" isnt a command ect
 
Last edited:

Dany97

LOMCN Veteran
Veteran
Aug 28, 2009
650
4
105
Timisoara
#if
checklevel 40
checkjob taoist
#act
recallmob ADVtaopet
#elseif
checklevel 20
checkjob taoist
recallmob taopet

at else
#ELSEACT
goto @check2
[@check2]
#IF
checklevel 20
checkjob taoist
#ACT
recallmob taopet
 
Last edited:
Upvote 0

K_Jonzy

Golden Oldie
Golden Oldie
Oct 8, 2008
590
15
125
My House
edit;
ok ur idea didnt work, and now neither of these work, and they all dont say any msg's and they all have the command name in custom command...


[@killpet]
#act
KillSlave

[@130]
#IF
CHECKSLAVECOUNT > 1
CHECKLEVEL 130
CHECKJOB TAOIST
#ACT
RECALLMOB ADVTaoPet 9 ( 1 = level of mob you can use 1 - 9)
sendmsg 6 "Heres the suitable pet for your level. <$USERNAME>."
#ELSEACT
sendmsg 6 "your either not: level 130, a tao, or you have a pet"

[@90]
CHECKSLAVECOUNT > 1
CHECKLEVEL 90
CHECKJOB TAOIST
#ACT
RECALLMOB TaoPet 9 ( 1 = level of mob you can use 1 - 9)
sendmsg 6 "Heres the suitable pet for your level. <$USERNAME>."
#ELSEACT
sendmsg 6 "your either not: level 90, a tao, or you have a pet"

[@60]
CHECKSLAVECOUNT > 1
CHECKLEVEL 60
CHECKJOB TAOIST
#ACT
RECALLMOB SkullCrusher 9 ( 1 = level of mob you can use 1 - 9)
sendmsg 6 "Heres the suitable pet for your level. <$USERNAME>."
#ELSEACT
sendmsg 6 "your either not: level 60, a tao, or you have a pet"

[@40]
CHECKSLAVECOUNT > 1
CHECKLEVEL 40
CHECKJOB TAOIST
#ACT
RECALLMOB BoneCollecter 9 2 ( 1 = level of mob you can use 1 - 9)
sendmsg 6 "Heres the suitable pet for your level. <$USERNAME>."
#ELSEACT
sendmsg 6 "your either not: level 60, a tao, or you have a pet"
Close
 
Last edited:
Upvote 0

Dany97

LOMCN Veteran
Veteran
Aug 28, 2009
650
4
105
Timisoara
it didn't worked because i forgot the #ACT ...
ok about the last script posted you have a starting command ...right?
like

[@taopet]
#IF
checklevel > 130
#ACT
goto @130
#ELSEACT
goto @check90

[@check90]
#IF
checklevel > 90
#ACT
goto @90
#ELSEACT
goto @check60
[@check60]
#IF
checklevel > 60
#ACT
goto @60
#ELSEACT
goto @check40
[@check40]
#IF
checklevel > 40
#ACT
goto @40

the question may sound a lil bit but hard to see if u didn't posted all the script or you didn't had the starting part of it...

my bad lol didn't read the first post but try my script instead of that
 
Upvote 0

Dany97

LOMCN Veteran
Veteran
Aug 28, 2009
650
4
105
Timisoara
so i use your code and put in Q_function

[@40]
#act
recallmob yadayadayada ... ??

here you go all the script ...should work


[@taopet]
#IF
checkslavecount > 1
#ACT
Sendmsg 6 "You already have a pet"
#ELSEACT
goto @checkjob
[@checkjob]
#IF
Checkjob Taoist
#ACT
goto @check130
#ELSEACT
SendMsg 6 "You aren't a taoist"

[@check130]
#IF
Checklevel > 130
#ACT
RecallMob <mobname>
#ELSEACT
goto @check90

[@check90]
#IF
checklevel > 90
checklevel < 130
#ACT
RecallMob <mobname>
#ELSEACT
goto @check60
[@check60]
#IF
checklevel > 60
checklevel < 90
#ACT
recallmob <mobname>
#ELSEACT
goto @check40
[@check40]
#IF
checklevel > 40
checklevel < 60
#ACT
recallmob <mobname>
#ELSEACT
"Sorry you aren't the right level"

P.S Make sure the mobs are like
eg TaoPet1 for 40
Taopet2 for 60
etc etc
I made the script so u need over 40 to can use the command @taopet you can edit it if you want
 
Upvote 0