Problem with my magery sc
Posted: 2008-05-22 15:23:24
Alright here is the code. The problem I seem to be having is that if I set the max mana to 100 after it meds up there it just keeps saying I am at peace and won't cast again. Any ideas would be great.
Thank you
Thank you
Code: Select all
sub PGMagery()
UO.print("Magery PG for BeePK")
VAR maxmana
VAR minmana
VAR temp
VAR i
#EINSTELLUNGEN
#--Bis wieviel Mana Meditieren ?
maxmana = 99
#--Ab wieviel Mana Meditieren ?
minmana = 90
Repeat
Repeat
Wait(100)
UO.Exec ("cast 'Night Sight' self")
Wait(3000)
i = 0
#wait
While (i < 50)
Wait(20)
i = i+1
Wend
Wait(200)
Until UO.mana < minmana
UO.press(9) # press TAB
Wait(200)
Repeat
UO.useskill('Meditation')
Wait(1000)
Until UO.mana > maxmana
Until False
end sub