Difference between revisions of "Exevent Dropc"
From Wiki
Cannedboot (Talk | contribs) m (spelling) |
Cannedboot (Talk | contribs) (combining stacks) |
||
Line 4: | Line 4: | ||
If you don't specify x/y then the item will be dropped on the bag, otherwise it will be dropped into the bag at the specified location. | If you don't specify x/y then the item will be dropped on the bag, otherwise it will be dropped into the bag at the specified location. | ||
+ | |||
+ | If you want to combine the stack being dragged with another stack of the same item type, just pass the ID of the destination stack as <tt>{container id}</tt>. | ||
}} | }} | ||
Revision as of 08:25, 16 October 2005
Synopsis
Exevent Dropc {container id} [x y]
Description
The Exevent Dropc command drops obects you drag using the Exevent Drag command to any container you want.
If you don't specify x/y then the item will be dropped on the bag, otherwise it will be dropped into the bag at the specified location.
If you want to combine the stack being dragged with another stack of the same item type, just pass the ID of the destination stack as {container id}.
Note: |
|
Example
finditem %gold G_2 if #findkind <> -1 { Exevent Drag #findid #findstack wait 10 Exevent Dropc #backpackid wait 10 } halt
See also
Main Page | Documentation |