Code:
sub VasAnOrt()
VAR ManaNeed=40
VAR ManaNeedScroll=20
UO.FindType('0x1f62',-1,'my')
If UO.FindCount()>0 Then
If UO.Mana>=ManaNeedScroll Then
UO.WaitTargetSelf()
UO.UseObject('finditem')
UO.Print("Scroll!!!")
Else
UO.Print("Low mana scroll!!!")
Endif
Else
If UO.Mana>=ManaNeed Then
UO.Cast('Mass Dispel','self')
UO.Print("Spell!!!")
Else
UO.Print("Low mana spell!!!")
Endif
Endif
condomnick()
end sub
Code:
Sub condomnick()
var z
var item='0x0FA7'
uo.UseType(item)
for z = 0 to 4
uo.UseType(item)
wait(10)
next
end sub