Yoh,
I have an issue regarding an NPC I am scripting, I will just show you the sector where the problem is.
Code:
if(intid == 30) then
local item = player:GetItemCount(19712)
if item ~= nil or item > 20 then
player:RemoveItem(19712, 10)
player:AddItem(22013, 1)
end
end
So, Here's the problem; It workes PERFECT if you have the required tokens.
Altough when you DO NOT have the tokens, you'll get the item anyway. I've tried many different things, and I havn't found it yet.
So my question is, Able to fix so if you DO NOT have the tokens, it will NOT give you the item?
~~ Babbaa