- Feb 25, 2010
- 574
- 14
- 104
Because its being really stupid. From memory;
I did this script last night, anyone can click on the NPC without having the item.. it takes the gold, and displays the message the item was destroyed. Its like its not even doing the first check to see if the player has the item and just skipping to the second part.
I'll take another look tonight but am I doing something stupidly worng on something so simple?
Code:
#if
checkitem rustedbrace(s)
#act
goto check1
#elsesay
Not the correct items!
[@check1]
#act
take rustedbrace(s)
take gold 20000
#if
random 30
#act
give DemiseBrace
#elseact
Sendmsg 6 "The item was destroyed"
I did this script last night, anyone can click on the NPC without having the item.. it takes the gold, and displays the message the item was destroyed. Its like its not even doing the first check to see if the player has the item and just skipping to the second part.
I'll take another look tonight but am I doing something stupidly worng on something so simple?
