ToiletMaster 3 Posted December 29, 2014 Hi guys, i've created a custom item, however, is it possible to not allow the user to open the Box unless he has completed one of the quest? here's the item that i have so far. { Id: 20009 AegisName: "Shady_Gift_Box" Name: "Mr.Shady's Gift Box" Type: 0 Buy: 500 Sell: 50 Weight: 10 Script: <" if(questprogress(81000) != 2){ dispbottom "You shall not pass"; end; } else { getitem 20005,5; } ">}, it works on how i actually wish, the only problem is that the item goes missing instead, being able to reuse again. Quote Share this post Link to post Share on other sites
0 4144 364 Posted December 29, 2014 Try this: { Id: 20009 AegisName: "Shady_Gift_Box" Name: "Mr.Shady's Gift Box" Type: 0 Buy: 500 Sell: 50 Weight: 10 KeepAfterUse: true Script: <" if(questprogress(81000) != 2){ dispbottom "You shall not pass"; end; } else { getitem 20005,5; delitem 20009,1; } ">}, Quote Share this post Link to post Share on other sites
Hi guys,
i've created a custom item, however, is it possible to not allow the user to open the Box unless he has completed one of the quest?
here's the item that i have so far.
it works on how i actually wish, the only problem is that the item goes missing instead, being able to reuse again.
Share this post
Link to post
Share on other sites