Back to "snippet" tags

Bapeth's Ocean Dock and Drop by barryroser

Description: This script will auto crate your hull and dock your ship safely.

# Bapeths Dock and Drop # # Sometimes its necessary to disembark and embark when razor fails to detect the dockmaster # # This script will search for a dockmaster NPC, and when ready, will crate and dock your ship # # Script Starts Here for 50 hotkey "Next Monster Target" @setvar bdockmaster lasttarget if noto bdockmaster = "invulnerable" getlabel bdockmaster desc if "dockmaster" in desc menu bdockmaster 1 getlabel backpack ping if gumpexists 3287496917 gumpresponse 8 getlabel backpack ping if insysmsg "You pay" overhead "Shipping crate sent" 74 elseif insysmsg "not been stationary" overhead "Stationary cooldown..." 45 gumpclose 3287496917 replay elseif insysmsg "capable of being" overhead "Nothing to ship..." 45 elseif insysmsg "you are not onboard" gumpclose 3287496917 overhead "Not on a ship..." 45 stop endif waitforgump 3287496917 gumpresponse 7 getlabel backpack ping if insysmsg "You dock the ship" overhead "Ship Docked Safley" 88 gumpclose 3287496917 hotkey "Cancel Current Target" stop elseif insysmsg "not been stationary" overhead "Stationary cooldown..." 45 gumpclose 3287496917 replay endif else replay endif break endif endif endfor overhead "Disembark / Embark to resync if dockmaster can not be found" 45 loop