A nice way of learning is to use pseudo-code (real words to describe the objective). I picked this up from Freddy at WinUo. Here's an example of a simple procedure to find an item in a container, and move it to another one. It's not exact, but the idea's there:
; pseudo-code
look for container A
set the id
look for container B
set the id
find item A in container A
set the id
lift item A from container A
drop item A into container B
Now one-by-one, replace each pseudo-line command with the appropriate euo language command
finditem ABC G_5 ; find container A within 5 tiles of your character
set %ContainerA #findid ; sets the specific id of the container to a variable
ignoreitem %ContainerA ; ignores ContainerA so you can find ContainerB
finditem ABC G_5 ; find container B within 5 tiles of your character
set %ContainerB #findid ; sets the specific id of the container to a variable
ignoreitem reset ; since we ignored ContainerA , we'll have to un-ignore it
finditem XYZ C_ , %ContainerA ; now we look for the item in ContainerA
set %Item #findid ; sets the specific id of the item to a variable
exevent drag %Item ; lift the item out of the container
exevent dropc %ContainerB ; drop the item into ContainerB
Again, this example won't exactly work because the 'finditem' types are not correct, no wait's and prob some other stuff. But just take it easy, line by line and definitely ask questions !
