UO Steam Macro

severus

Grandmaster
Can anyone help me with this macro and tell me what im doing wrong!

cast "Mana Vampire"

waitfortarget 15000

target! 0x39a95

if mana <= 40

useskill 'meditation'

pause 30000


Its such a basic macro but this gives me error 'unexpected if, expected else or endif' ive looked at that documentation of uosteam but still not able to figure this out
 

halygon

Grandmaster
Can anyone help me with this macro and tell me what im doing wrong!

cast "Mana Vampire"

waitfortarget 15000

target! 0x39a95

if mana <= 40

useskill 'meditation'

pause 30000


Its such a basic macro but this gives me error 'unexpected if, expected else or endif' ive looked at that documentation of uosteam but still not able to figure this out

Yeah try this (assuming you are casting on yourself).

//run until GM Resisting spells
While skill 'Resisting Spells' < 100

//if less than 40 mana use meditation
if mana < 40
useskill 'meditation'
Endif

//wait till you have 40 mana
While mana < 40
Endwhile

//cast mana vamp and target yourself
cast "Mana Vampire"
waitfortarget 15000
target! 'Self'

Endwhile
 

severus

Grandmaster
Yeah try this (assuming you are casting on yourself).

//run until GM Resisting spells
While skill 'Resisting Spells' < 100

//if less than 40 mana use meditation
if mana < 40
useskill 'meditation'
Endif

//wait till you have 40 mana
While mana < 40
Endwhile

//cast mana vamp and target yourself
cast "Mana Vampire"
waitfortarget 15000
target! 'Self'

Endwhile
Cheers man, im gm resist now but shall copy this for future lol
 

shenron

Journeyman
Yeah try this (assuming you are casting on yourself).

//run until GM Resisting spells
While skill 'Resisting Spells' < 100

//if less than 40 mana use meditation
if mana < 40
useskill 'meditation'
Endif

//wait till you have 40 mana
While mana < 40
Endwhile

//cast mana vamp and target yourself
cast "Mana Vampire"
waitfortarget 15000
target! 'Self'

Endwhile

thanks man, this helped me a ton!
 
Top