draging an inventory item
So in my alching script, which is purely for rune arrows, at the beginning, im trying to get the rune arrows into slot 17, which is where most humans would have it when they are alching. Im using a dtm of rune arrows to find rune arrows, but the dragitem function requires an invspace, not co-ordinates. How would I get it so it would find the arrows, then move them to invspace 17?
E: this is what I have so far
Simba Code:
Gametab(25);
If not existsitem(17) then
finddtm(RArrows, x, y, MIX1, MIY1, MIX2, MIY2);
dragitem(