1
Scripting Chat / Re: finding items inside closed armoires, is it possible without having the open?
« on: January 05, 2014, 05:54:59 AM »
that sucks, thanks for the quick responses.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
sub steal
set #lobjectid JAACOMD ;id of container spawn is in
event macro 17
wait 20
finditem EGG C_JAACOMD ; item ids c_spawning container id
if #findkind -1
{ event macro 17
finditem EGG C_JAACOMD ; item ids c_spawning container id
}
set #ltargetid #findid
event macro 13 33
target
event macro 22 0
wait 10
set #ltargetid MEFQYMD ;recall rune set here
event macro 15 31
target
event macro 22 0
wait 10
event macro 4 4 BANK
finditem EGG C_KNFHLMD ;item ids c_backpackid
gosub moveitem #findid KNFHLMD EPIPUMD ; call sub (itemid) (fromcontainredID) (tocontainerID)
halt
return
sub steal
set #lobjectid JAACOMD ;id of container spawn is in
event macro 17
wait 20
finditem EGG C_JAACOMD ; item ids c_spawning container id
if #findkind -1
{ event macro 17
finditem EGG C_JAACOMD ; item ids c_spawning container id
}
set #ltargetid #findid
event macro 13 33
target
event macro 22 0
wait 10
set #ltargetid MEFQYMD ;recall rune set here
event macro 15 31
target
event macro 22 0
wait 10
event macro 4 4 BANK
finditem EGG C_KNFHLMD ;item ids c_backpackid
gosub moveitem #findid KNFHLMD EPIPUMD ; call sub (itemid) (fromcontainredID) (tocontainerID)
halt
return