need some advice please!!

smoochy boys on tour

Troyx

Dedicated Member
Dedicated Member
Sep 17, 2010
25
0
27
i have problem in mir set
i can explain in mir sword
MirSword
StdMode 31 Anicount 19
iam making it by jobs if you are warr its translate into WMirSword..... etc
and i wrote in QFunc that :
[@stdmodefunc19]
#IF
CheckJob Wizard
CheckItem MirSword
#ACT
Take MirSword
Give ZMirSword
close
[@stdmodefunc19]
#IF
CheckJob Warr
CheckItem MirSword
#ACT
Take MirSword
Give WMirSword
close
[@stdmodefunc19]
#IF
Checkjob Taos
CheckItem MirSWord
#ACT
Take MirSword
Give TMirSword
close

and the problem here it only work with the first job im writing it
i mean if i wrote warr before Wizard in QFunc it will work with warr
any advice ??
Sorry for my english
thnx
 

Tai

HEAD CAPTAIN
Staff member
Administrator
May 11, 2003
14,328
2
2,715
515
United Kingdom
Try using this instead:

[@stdmodefunc19]
#IF
CheckJob Wizard
CheckItem MirSword 1
#ACT
Take MirSword 1 <-- dont forget to add '1' for the amount, or it will take all MirSword's in bag, should the person have more than 1
Give ZMirSword 1
break
#ELSEACT
GOTO @checkmirswordwar

[@checkmirswordwar]
#IF
CheckJob Warr <--should be Warrior? Don't know what files you're using though.
CheckItem MirSword 1
#ACT
Take MirSword 1
Give WMirSword 1
break
#ELSEACT
GOTO @checkmirswordtao

[@checkmirswordtao]
#IF
Checkjob Taos <-- should be Taoist? Don't know what files you're using though.
CheckItem MirSword 1
#ACT
Take MirSword 1
Give TMirSword 1
break
#ELSEACT
break
 
Upvote 0

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
145
if it is TD files thn should be..

[@Got]
#IF
CHECKJOB warrior
#ACT
Goto @War
Break

#IF
CHECKJOB Wizard
#ACT
Goto @wiz
Break

[@Got3]
#IF
CHECKJOB Taoist
#ACT
Goto @Tao
Break

This works fine in my starter npc :)
 
Upvote 0

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,201
61
155
uk
Always put a number on what your checking/giving/taking.

[@stdmodefunc19]
#IF
CheckJob Wizard
CheckItem MirSword 1
#ACT
Take MirSword 1
Give ZMirSword 1
break

#IF
CheckJob Warrior
CheckItem MirSword 1
#ACT
Take MirSword 1
Give WMirSword 1
break

#IF
Checkjob Taoist
CheckItem MirSWord 1
#ACT
Take MirSword 1
Give TMirSword 1
close
 
Upvote 0

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
145
All ready been said Gezza look at Tai post :P But he may aswell copy/paste yours now lol.
 
Upvote 0

paul.obrien

LOMCN Veteran
Veteran
Aug 28, 2008
453
4
65
If you want it so when they put the MirSword on it changes to another weapon use this.
Normal sword = stdmode 5

then in qfunction

[@takeonitem(mirsword)]
#IF
CHECKJOB Wizard
CHECKITEMW MirSword 1
#ACT
TAKEW MirSword 1
GIVEW ZMirSword 1
BREAK

#IF
CHECKJOB Warr
CHECKITEMW MirSword 1
#ACT
TAKEW MirSword
GIVEW WMirSword
BREAK

#IF
CHECKJOB Taoist
CHECKITEMW MirSWord
#ACT
TAKEW MirSword
GIVEW TMirSword
BREAK
CLOSE
 
Last edited:
Upvote 0

Shank

The_Mafia
VIP
Dec 4, 2008
2,082
17
165
u cant do tht in 1.9? on a server i played MirSword was a pot with mirsword skin and when u used it ... it checked ur job and gave u the class wep version of mir sword exactly how hes trying to do it... and same scripts as what i got lol
 
Upvote 0

Bon

Legend
Legendary
Jul 29, 2004
6,726
330
300
Kent, UK
You guys are missing the point with the script......


Code:
[@stdmodefunc19]
#IF
CheckJob Wizard
#ACT
Give ZMirSword 1
break

#IF
CheckJob Warrior
#ACT
Give WMirSword 1
break

#IF
Checkjob Taoist
#ACT
Give TMirSword 1
break


That is all you need.......
If its a stdmodefunc item, then its a CONSUMABLE.... so when you click the item, it disapears, so you wouldnt be checking if they had the mir sword, as they would of just used it.....
 
Upvote 0

paul.obrien

LOMCN Veteran
Veteran
Aug 28, 2008
453
4
65
You guys are missing the point with the script......


Code:
[@stdmodefunc19]
#IF
CheckJob Wizard
#ACT
Give ZMirSword 1
break

#IF
CheckJob Warrior
#ACT
Give WMirSword 1
break

#IF
Checkjob Taoist
#ACT
Give TMirSword 1
break


That is all you need.......
If its a stdmodefunc item, then its a CONSUMABLE.... so when you click the item, it disapears, so you wouldnt be checking if they had the mir sword, as they would of just used it.....

thats why i suggested using take on item and keeping the stdmode at 5
 
Upvote 0