- Nov 13, 2009
- 54
- 1
- 34
Hi
Script Masters
I Need help
I have a script, and the problem. I did not write in SQL FP
;;; test npc ;;;
[@main]
#IF
checkitem PotionMP 1
#ACT
#SAY
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\ \
<Yes/@text1>\ \
<Exit/@exit>\
#ELSESAY
xxxxxxxxxxxxxxxxx\
[@text1]
#IF
#ACT
#SAY
xxxxxxxxxxxxxxxxxxxxxxxxxxx\
<Reward/@reward>\
<Exit/@exit>
#ELSESAY
xxxxxxxxxxxxxxxxxxxx\
xxxxxxxxxxxxx\
<Exit/@exit>
[@Reward]
#IF
checkitem PotionMP 1
#ACT
FormatStr "FLD_USERID='%s'"%USERID
mov D4%P9
inc D4 50
setfame %D4
FormatStr "FLD_POINT='%s'" %D4
UpdateValueSQL "TBL_RELATPOINT" %A8 %A9
#SAY
xxxxxxxxxxxxxxxxxxxxxx.\ \
<Thanks/@exit>
;;;;;;;;;;;;;;;;;;;;;;;;;
Please help
Script Masters
I Need help
I have a script, and the problem. I did not write in SQL FP
;;; test npc ;;;
[@main]
#IF
checkitem PotionMP 1
#ACT
#SAY
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\ \
<Yes/@text1>\ \
<Exit/@exit>\
#ELSESAY
xxxxxxxxxxxxxxxxx\
[@text1]
#IF
#ACT
#SAY
xxxxxxxxxxxxxxxxxxxxxxxxxxx\
<Reward/@reward>\
<Exit/@exit>
#ELSESAY
xxxxxxxxxxxxxxxxxxxx\
xxxxxxxxxxxxx\
<Exit/@exit>
[@Reward]
#IF
checkitem PotionMP 1
#ACT
FormatStr "FLD_USERID='%s'"%USERID
mov D4%P9
inc D4 50
setfame %D4
FormatStr "FLD_POINT='%s'" %D4
UpdateValueSQL "TBL_RELATPOINT" %A8 %A9
#SAY
xxxxxxxxxxxxxxxxxxxxxx.\ \
<Thanks/@exit>
;;;;;;;;;;;;;;;;;;;;;;;;;
Please help