target from, target to, target type...
codice:
frompack: event ExMsg #charid 2 3 target frompack set #targcurs 1 target while #targcurs = 1 { sleep 10 } set %frompack #ltargetid finditem %frompack if #finddist > 2 { event ExMsg #charid 2 3 frompack too is faraway goto frompack } topack: event ExMsg #charid 2 3 target topack set #targcurs 1 target while #targcurs = 1 { sleep 10 } set %topack #ltargetid finditem %topack if #finddist > 2 { event ExMsg #charid 2 3 topack too is faraway goto topack } event ExMsg #charid 2 3 target what to move set #targcurs 1 target while #targcurs = 1 { sleep 10 } finditem #ltargetid set %type #findtype repeat finditem %type C_ , %frompack for %i 1 #findcnt { set #findindex %i Exevent Drag #findid #findstack wait 3 Exevent Dropc %topack wait 3 } wait 1 until #findcnt = 0 halt
Commenta