[2.3] script help

SabreMir

Dedicated Member
Dedicated Member
Jul 21, 2012
114
2
45
hi, i need alittle help on a quest script im working on and im a novice at this so stuck on 1 part of script,

basically i want the npc to give me a armour which is correct for my class/sex and cant remember how to do it i know its check job and gender but not sure how to implement it in the script?


any help ??

thanx
 

TravisW

LOMCN Veteran
Veteran
Sep 4, 2007
737
17
125
something like

#IF
GENDER MAN
#ACT
goto @males
#ELSEACT
goto @females

[@males]
#IF
CHECKJOB Warrior
#ACT
goto @mwar
#ELSEACT
goto @check1

[@check1]
#IF
CHECKJOB Wizard
#ACT
goto @mwiz
#ELSEACT
goto @mtao

[@mwar]
bla bla bla

[@mwiz]
bla bla bla

[@mtao]
bla bla bla

[@females]
#IF
CHECKJOB Warrior
#ACT
goto @fwar
#ELSEACT
goto @check2

[@check2]
#IF
CHECKJOB Wizard
#ACT
goto @fwiz
#ELSEACT
goto @ftao

[@fwar]
bla bla bla

[@fwiz]
bla bla bla

[@ftao]
bla bla bla
 
  • Like
Reactions: SabreMir
Upvote 0