Send Shipping Crate and Dock by texecutioner187

Related: Snippet

Description: This script will search for a usable dockmaster through all available targets, and when it finds one that responds to the user, it will automatically send a shipping crate of all items in the hold to the users room and then dock the boat

1while not gumpexists 3287496917
2    hotkey 'Next Target'
3    @setvar! 'currentTarget' lasttarget
4    wait 200
5    if noto 'currentTarget' = invulnerable
6       menu lasttarget 1
7    endif
8endwhile
9waitforgump 3287496917 500
10gumpresponse 8
11waitforgump 3287496917
12gumpresponse 7