Xeasin
Sorceror
I am completly new about UOS and when i was a university i fail programing class 3 times
anyway
This is my first script it works finely (for me)
This is my secont script and it has problem. For this i try to duplicate and change a magery scrip find from there http://greeduo.wix.com/uomacro#!uosteam-magery/c24q1
Script keep working till mana end and start mediate after that give this eror
I want to understand what i am doing wrong. I start learning last night using documentation pdf and others script. My main purpose learn how to write script for my characters
![Smile :) :)](/community/styles/default/xenforo/smilies/smile.png)
This is my first script it works finely (for me)
Code:
if poisoned 'self'
clearhands 'left'
pause 250
usetype! 0xf07
pause 250
// You need to change item serial
equipitem 0x41b39c30 2
endif
This is my secont script and it has problem. For this i try to duplicate and change a magery scrip find from there http://greeduo.wix.com/uomacro#!uosteam-magery/c24q1
Script keep working till mana end and start mediate after that give this eror
[Macro] Eror Line 1
invalid 'if'. expected 'endif'
Code:
if mana < 50
clearjournal
useskill 'meditation'
while mana < maxmana
endwhile
else
if skill 'spellweaving' < 85
cast "Essence of Wind"
pause 5500
elseif skill 'spellweaving' < 100
cast 'word of death'
pause 5000
elseif skill 'spellweaving' < 100
cast 'word of death'
pause 1000
else
headmsg 'Spellweaving complete!'
stop
endif
I want to understand what i am doing wrong. I start learning last night using documentation pdf and others script. My main purpose learn how to write script for my characters