- Jul 11, 2004
- 680
- 1
- 105
this is an extract of my npc script
[@Pressie]
#IF
CHECKITEM BeginScroll
#ACT
Goto @CheckFlag1
#ELSEACT
Goto @NoScroll
[@CheckFlag1]
#IF
Check [100] 1
#ACT
Goto @QuestDone
#ELSEACT
Goto @CollectPrize
[@QuestDone]
#SAY
You Have Already Completed This Quest.\\
<Exit/@exit>
[@NoScroll]
#SAY
YOU LIE!!!\
You Have No Scroll.\\
<Exit/@exit>
But for some reason it doesnt do the checkitem bit, it just goes to the checkflag1 if i have a BeginScroll in my bag or not (ie it dont goto the NoScroll bit) any help be appreciated im not to great at npc scripts >.<
Thx
[@Pressie]
#IF
CHECKITEM BeginScroll
#ACT
Goto @CheckFlag1
#ELSEACT
Goto @NoScroll
[@CheckFlag1]
#IF
Check [100] 1
#ACT
Goto @QuestDone
#ELSEACT
Goto @CollectPrize
[@QuestDone]
#SAY
You Have Already Completed This Quest.\\
<Exit/@exit>
[@NoScroll]
#SAY
YOU LIE!!!\
You Have No Scroll.\\
<Exit/@exit>
But for some reason it doesnt do the checkitem bit, it just goes to the checkflag1 if i have a BeginScroll in my bag or not (ie it dont goto the NoScroll bit) any help be appreciated im not to great at npc scripts >.<
Thx
