[UOSteam] Meditate and re-arm

If you make a Client-side script you can publish it here for other players to use
Post Reply
ezykial
Novice Scribe
Posts: 5
Joined: Fri Aug 04, 2017 3:59 pm

[UOSteam] Meditate and re-arm

Post by ezykial »

This macro disarms you if armed, meditates till full or some action stops meditation, then rearms you.
If the delay since last meditate has not passed, it does nothing.

Code: Select all

if not timerexists 'meditate'
  createtimer 'meditate'
  settimer 'meditate' 12000
endif
if timer 'meditate' < 6000
  headmsg "timer for meditation is not expired"
  stop
endif
@unsetalias rightHand_
@unsetalias leftHand_
if @findlayer 'self' 1
  @setalias rightHand_ found
endif
if @findlayer 'self' 2
  @setalias leftHand_ found
endif
clearhands both
clearjournal
pause 1500
useskill "Meditation"
while mana < maxmana and not @injournal "You stop meditating"
  pause 1000
endwhile
if @findalias rightHand_
  equipitem rightHand_ 1
endif
if @findalias leftHand_
  equipitem leftHand_ 2
endif
MarkM
Expert Scribe
Posts: 34
Joined: Sat Sep 09, 2017 2:20 pm

Re: [UOSteam] Meditate and re-arm

Post by MarkM »

Very cool this will work until I get my spell channel deed.. Thanks
Post Reply