Another question :P

Cricket1650

Dedicated Member
Dedicated Member
Apr 25, 2008
66
0
52
I need to know if there was a way to delete a skill via script. like i want to make a npc that deletes slaying. if anyone has any idea please tell me
 

Cricket1650

Dedicated Member
Dedicated Member
Apr 25, 2008
66
0
52
is there anyway you could get me a list of all the hlscriptcmd things? ive searched forum but cant find anything about them.
 
Upvote 0

Cricket1650

Dedicated Member
Dedicated Member
Apr 25, 2008
66
0
52
Code:
[@main]
#IF
#Say
If you are a lvl 2000 taoist you can get\
halfmoon skill here\
<AddHalfmoon/@AddHalfmoon>\
<No/@Exit>\

[@AddHalfmoon]
#IF
CHECKLEVEL 2000
CHECKJOB Taoist
#ACT
HLSCRIPTCMD ADDSKILL Halfmoon
#SAY
Skill added\
\
<Exit/@Exit>
#ELSESAY you are either not level 2000\
Or you aren't a Taoist\

this is my script. it doesnt work.. could anyone tell me why please
 
Upvote 0

dscottys

Dedicated Member
Dedicated Member
Nov 26, 2005
164
1
65
Liverpool
Which part of it doesnt work? the whole thing or just the ELSESAY part, you need a line break after the elsesay by the way m8 :)

Rest of it looks fine but as other people are saying the addskill command wont work on it not sure why, will have to test it out myself to see what is wrong.
 
Upvote 0

Amenovis

Golden Oldie
Golden Oldie
Loyal Member
Jan 9, 2006
1,105
0
143
Germany
[@main]
#IF
#Say
If you are a lvl 2000 taoist you can get\
halfmoon skill here\
<AddHalfmoon/@AddHalfmoon>\
<No/@Exit>\

[@AddHalfmoon]
#IF
CHECKLEVEL 2000
CHECKJOB Taoist
#SAY
Skill added\\
<Exit/@Exit>
#ACT
HLSCRIPTCMD ADDSKILL Halfmoon
#ELSESAY
you are either not level 2000\
Or you aren't a Taoist\
<Exit/@Exit>


BTW normaly if a player can add an extra spell he never would press no lol so in my opinion i would not make a request if he wanna. self if he dont wanna have him he can choose self if he use it or not by setting on f-key.

in that case i would change it that way:
[@main]
#IF
CHECKLEVEL 2000
CHECKJOB Taoist
#SAY
U Learned ExtraSkill (Halfmoon)\
<Exit/@Exit>
#ACT
HLSCRIPTCMD ADDSKILL Halfmoon
#ELSESAY
you are either not level 2000\
Or you aren't a Taoist\
<Exit/@Exit>


ohh and one error more i dunno why but if u use #say and #act than ever use the #say com as 1st. i had it 1 time that i changed only the #act under the #say and the script worked perfect
 
Last edited:
Upvote 0

Amenovis

Golden Oldie
Golden Oldie
Loyal Member
Jan 9, 2006
1,105
0
143
Germany
np i hope that figured ur probs out if not than it must have something todo with the hlscriptcom cause the script self is 100% working in normal way
 
Upvote 0