Quick Escape Macro (gate, recall, chiv) by Roeshambo

Description: Quick escape macro. Will instantly use moongate if in range. If you have magery and not near a moongate, it will cast recall and either target your runebook (make sure to have a default selected), or a free rune if that's all that is in your bag. If you have chiv over 95 it will use sacred journey and use the portal (must push the button repeatedly to cast and use the gate as waits cause hangups. Or else, if all you have is a runebook, it will instantly cast the selected recall (change the gumpresponse at the bottom to correlate with the rune you wish to use).

if findtype "blue moongate" ground 0 1 2 as mGate while not gumpexists 3899019871 dclick mGate endwhile if gumpexists 3899019871 gumpresponse 2 3899019871 stop endif elseif findtype "blue moongate" ground -1 1 2 as mGate while not gumpexists 3773199800 dclick mGate endwhile if gumpexists 3773199800 gumpresponse 2 3773199800 stop endif elseif skill "Magery" > 70 and mana > 11 and not findtype "blue moongate" ground 0 1 8 while not targetexists cast "Recall" wait 200 endwhile if findtype 8901 backpack as portTarget target portTarget elseif findtype 7956 backpack as portTarget target portTarget endif elseif skill "Chivalry" > 95 and not findtype "blue moongate" ground 0 1 8 if not gumpexists 1482653814 say '[SacredJourney' elseif gumpexists 1482653814 gumpresponse 1 endif if findtype 30528 ground 2091 1 2 as mgate dclick mgate endif if gumpexists 3773199800 gumpresponse 2 endif elseif findtype 8901 backpack as runebook and not findtype "blue moongate" ground 0 1 8 //change gumpresponse to number correlating to rune in book //Page 1: 2,6,14,20,26,32,38,44 Page 2: 50,56,62,68,74,80,86,92 dclick runebook waitforgump 1551740969 1000 if gumpexists 1551740969 gumpresponse 74 endif endif