NPC Help

Mu online season 21 - grand opening

Primal

LOMCN VIP
VIP
Jun 28, 2004
1,756
102
289
does ne1 know how to make a npc do a gmexecute command to the player using the npc?

e.g.
[@main]
Hi <$USERNAME>,\
<Level your skill/@levelyourskill>\

[@levelyourskill]
#ACT
GMEXECUTE training @training charname fencing 3

p.s. i dont want the npc to level a skill using gm commands for me, needed for other reasons this is just an example.
please post if u know how ty in advance
 

JSB123

LOMCN Veteran
Veteran
Aug 7, 2004
370
0
43
S.Yorkshire
I would guess its
GMEXECUTE training skillname newlevel

You don't need to put @ sign, and the npc knows that person its talking to so no need for the name.
 
Upvote 0

Veora

LOMCN Veteran
Veteran
Apr 4, 2005
355
9
94
Possibly just i dont't know i'm relitivly new to scripting ^_^
#ACT
@training <$USERNAME> slaying 3
 
Upvote 0

MentaL

Jev For Admín!
VIP
Mar 3, 2004
3,843
552
385
Cardiff
extract of my script from rz

[@warrioritems]
#IF
gender man
#ACT
give purifiersword 1
give heavyarmour(M) 1
give coralring 2
give goldbracelet 2
give bluejadeneck 1
give skeletonhelmet 1
give chainbelt 1
give leatherboots 1
give dcstone(S) 1
give apple 1
give pickaxe 1
give townteleport 1
addskill fencing 3
addskill slaying 3
addskill thrusting 2
addskill halfmoon 1
addnamelist rules.txt
goto @sayrulesorig
#ELSEACT
give purifiersword 1
give heavyarmour(F) 1
give coralring 2
give goldbracelet 2
give bluejadeneck 1
give skeletonhelmet 1
give chainbelt 1
give leatherboots 1
give dcstone(S) 1
give apple 1
give pickaxe 1
give townteleport 1
addskill fencing 3
addskill slaying 3
addskill thrusting 2
addskill halfmoon 1
addnamelist rules.txt
goto @sayrulesorig
 
Last edited:
Upvote 0

Primal

LOMCN VIP
VIP
Jun 28, 2004
1,756
102
289
MentaL said:
extract of my script from rz
thanks for help dude but as i said in 1st post, i dont need it for adding lvl 3 skills, needed for other reasons

p.s. i dont want the npc to level a skill using gm commands for me, needed for other reasons this is just an example.
 
Upvote 0