Dock Ship by Brozan (Syal)
Description: This should cycle humanoids trying to open dockmaster, try to dock ship 3 times (for timer reasons), then stop
1while not dead
2 hotkey 'Next Humanoid Target'
3 wait 350
4 @setvar 'lastserial' lasttarget
5 if noto 'lastserial' = invulnerable
6 menu lastserial 1
7 wait 350
8 if gumpexists 3287496917
9 for 3
10 gumpresponse 7
11 wait 1000
12 endfor
13 gumpclose 3287496917
14 stop
15 endif
16 endif
17endwhile