UO Sagas: Escape Moongate (M)

Created: 19 days ago on 05/26/2025, 06:48:52 PM
FileType: LUA
Size: 1368
Category: Utility
Hotkey: M

Description: We currently can't interact with the location buttons, so this script will just keep clicking OKAY - you need to select your destination. Once they patch that, we can update the script.

-- Escape Moongate (M) by JaseOwns -- This script is used to escape from the moongate -- server: UO Sagas Messages.Overhead('Looking for moongate', 89, Player.Serial) local moongateGumps = { public = 585180759, } local moongateSerial = nil while true do local moongate = Items.FindByName('Moongate') if moongate ~= nil then if moongateSerial ~= nil and moongate.Serial ~= moongateSerial then Messages.Overhead('Moongate has changed!', 34, Player.Serial) break end Messages.Overhead('Found moongate', 89, Player.Serial) moongateSerial = moongate.Serial if Gumps.IsActive(moongateGumps.public) then Messages.Overhead('Gump already opened!', 89, Player.Serial) else Player.UseObject(moongate.Serial) end if Gumps.WaitForGump(moongateGumps.public, 500) then Messages.Overhead('Gump opened!', 89, Player.Serial) -- Sends a button click to the gump Gumps.PressButton(moongateGumps.public, 1) end else Messages.Overhead('Moongate not found', 34, Player.Serial) end Pause(750) end
View list of scripts
Disclaimer: This is a fan made site and is not directly associated with Ultima Online or UO staff.