- Sep 11, 2007
- 23
- 2
- 50
Hi, anyone knows how is the problem in this script:
When I click on "I have the books", without books give me the reward :S
Code:
[@Main]
#IF
checklevel 5
#SAY
Hi there < $USERNAME>.\
Thank you for the letter.\
Do you want go to Woomyon city please?
\
I need four books, help me.\
\
<[Ok, I will help you]/@joblist>\<[I don't want]/@Exit>
#ELSESAY
You can't make this job, yet.\
Train hard and speak with me, when you are level 5.
[@joblist]
#SAY
The job:\
#IF
CHECK [6] 0
#SAY
< Buy Books/@book> - {FCOLOR/10}Reward!{FCOLOR/12} - 250,000 Gold\
#IF
CHECK [6] 1
#SAY
{FCOLOR/12}Buy Books - {FCOLOR/10}Completed!{FCOLOR/12}\
\
Thank you for make this job!\\
<Exit/@Exit>
;;;;;HookingCat;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@book]
#SAY
Objective:\
Buy the Books:\
Healing, Slaying, Poisoning and AdvancedSlay.\\
Reward:\
250,000 Gold\
\
I have a friend than is living in Woomyon.\
Please, buy him the books.
#IF
CHECK [7] 0
#SAY
< Accept Job/@book1>\
#IF
CHECK [7] 1
#SAY
Job in Progress!\
< I have the books!/@book2>\
#SAY
<Exit/@Exit>
[@book1]
#IF
CHECK [7] 0
#ACT
SET [7] 1
goto @book
break
#ELSEACT
break
[@book2]
#IF
CHECKITEM Healing
CHECKITEM Slaying
CHECKITEM Poisoning
CHECKITEM AdvancedSlay
#ACT
take Healing
take Slaying
take Poisoning
take AdvancedSlay
take letter1
give gold 250000
SET [6] 1
#SAY
Items Recieved\
Reward Given\
\
< Thanks!/@joblist>
#ELSESAY
Not enough books!\
< Doh!/@Exit>
When I click on "I have the books", without books give me the reward :S