[@main]
#IF
CheckJob Taoist
#ACT
Goto @CheckPets
#ELSEACT
Goto @NotTao

[@NotTao]
#SAY
U Are Not A Taoist or You Haven't Found The Book Yet.\ \
<Exit/@exit>\

[@CheckPets]
#IF
CHECKSLAVECOUNT < 1
#ACT
Goto @GiveDeva
#ELSEACT
Goto @TooManyDeva

[@GiveDeva]
#IF
checknamelist Deva.txt
#ACT
GMEXECUTE recallmob HolyDeva 1 7
break
#ELSEACT
Goto @NoDevaSoz

[@NoDevaSoz]
#SAY
You Cannot Summon A Deva.

[@TooManyDeva]
#SAY
U May Only Have One Deva,\
Or You Already Have Pets.\ \
<Exit/@exit>\