Barebones
BETA Tester
I'm wondering if there is a way to add all items with a specific value, such as ilvl #, into a vendor where entry is #. This is what I have:
I get an error with the 'select entry from...'
SET @NPC_Vendor_Entry = 500146;
SET @NPC_Vendor_Slot = 0;
SET @NPC_Vendor_Item = select entry from item_template where itemlevel = 123;
SET @NPC_Vendor_Maxcount = 0;
SET @NPC_Vendor_incrtime = 0;
SET @NPC_Vendor_Extendedcost = 0;
insert into npc_vendor ('entry', 'slot', 'item', 'maxcount', 'incrtime', 'extendedcost') values (@NPC_Vendor_Entry, @NPC_Vendor_Slot, @NPC_Vendor_Item, @NPC_Vendor_Maxcount, @NPC_Vendor_incrtime, @NPC_Vendor_Extendedcost)
I get an error with the 'select entry from...'
Last edited: