Unable to use this particular item

ToiletMaster

New member
Messages
146
Points
0
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.

 
Try this:

Code:
{    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;            }            ">}, 
 
Back
Top