#include "${LavishScript.HomeDirectory}/Scripts/EQ2Navigation/EQ2Nav_Lib.iss" variable EQ2Nav Nav function StopRunning() { echo "Stop Running" press -hold "${Nav.MOVEBACKWARD}" waitframe press -release "${Nav.MOVEBACKWARD}" } function main(... params) { if !${Script[Relay](exists)} { RunScript "${LavishScript.HomeDirectory}/Scripts/mr/common/Relay" } variable string command = ${params[1].Lower} if ${command.Equal["osa"]} { run mr/osa/osa } elseif ${command.Equal["bot"]} { run mr/bot/bot } elseif ${command.Equal["export"]} { run mr/bot/export_abilities } elseif ${command.Equal["qw"]} { run mr/auto_quest/writer } elseif ${command.Equal["!c"]} { variable jsonvalue rest = [] rest:Erase[1] if !${MRNav(exists)} { RunScript "${LavishScript.HomeDirectory}/Scripts/mr/common/Navigation/Movement" } run mr/commands/ProcessCommand ${rest} } elseif ${command.Equal["test"]} { Nav.AUTORUN:Set["num lock"] Nav.MOVEBACKWARD:Set["s"] Nav.STRAFELEFT:Set["e"] Nav.STRAFERIGHT:Set["q"] ; run mr/common/Navigation/test echo "loading map" Nav:UseLSO[FALSE] Nav:LoadMap Nav.SmartDestinationDetection:Set[FALSE] Nav.BackupTime:Set[3] Nav.StrafeTime:Set[3] echo "moving to crafting" Nav.DestinationPrecision:Set[1] Nav:MoveToRegion["guild hall"] do { Nav:Pulse wait 1 } while ${Nav.Moving} call StopRunning } }