Search found 24 matches

by utternoob
2008-03-11 10:53:43
Forum: Help
Topic: stop if last target has below 20 HP
Replies: 1
Views: 756

stop if last target has below 20 HP

hello,

i'm making a script where one of my chars will cast magic arrow on my another char. i need my script to STOP casting magic arrow and wait for him to heal up when target's hp reaches lets say 20hp. how do i do that?
by utternoob
2008-03-08 14:22:37
Forum: Help
Topic: ,setreceivingcontainer doesnt work for me
Replies: 12
Views: 2525

var chest='id chest'
#####
uo.moveitem('[b]needed item'[/b],'quantity','chest')
#####



use this command, it'll work.

it will only move objects, not types, so it will move 1 item and then stop...

ie if i try to make it like this:

var bag='0x400D83A2'
sub movetobag ...
by utternoob
2008-03-07 22:29:03
Forum: Help
Topic: ,setreceivingcontainer doesnt work for me
Replies: 12
Views: 2525

,setreceivingcontainer doesnt work for me

hello,

anyone know what may cause ,setreceivingcontainer to NOT work? im macroing carpentry, and want all my items that i make to go into bag so i can throw it away easily when im done, but when i use that command and target a bag nothing happens. it used to work years ago but now it doesnt :S ...
by utternoob
2008-02-27 22:13:57
Forum: Help
Topic: How to loop this script forever?
Replies: 7
Views: 1618

thanks all, now its working how i wanted it to work

thats all i needed

sub getBandagesFromBank2()
while NOT UO.Dead()
if uo&#46;count&#40;'bandage'&#41; < 100 then
uo&#46;findtype&#40;'bandage', "-1", uo&#46;objAtLayer&#40; "Bank" &#41; &#41;
endif
uo&#46;moveitem ...
by utternoob
2008-02-27 20:17:38
Forum: Help
Topic: How to loop this script forever?
Replies: 7
Views: 1618

nothing changes, it will stop if i have more than 500 bandages.

what does "return false" command mean?
by utternoob
2008-02-27 19:49:11
Forum: Help
Topic: How to loop this script forever?
Replies: 7
Views: 1618

How to loop this script forever?

hello,

i want to loop this script forever-> https://yoko.uokit.com/viewtopic.php?p=71971#71971
script forever but it stops if i have more than 500 bandages. i just want it to loop and check if i have more 500 bandages, if i have less it should take 500 bandages from my bank and continue. help ...
by utternoob
2008-02-27 18:49:04
Forum: I need script!
Topic: Moving bandages from bank to backpack
Replies: 3
Views: 1186

hmmm how do i make this script loop forever, atm it stops if i have more than 500 bandages, i currently have it like this:


sub getBandagesFromBank&#40;&#41;
repeat
if uo&#46;count&#40;'bandage'&#41; > 500 then
uo&#46;print&#40; "I already have more than 500 bandages&#46;" &#41;
return false ...
by utternoob
2008-02-27 17:48:21
Forum: I need script!
Topic: Moving bandages from bank to backpack
Replies: 3
Views: 1186

Thank you very much!!! This worked! :D
by utternoob
2008-02-27 15:23:39
Forum: I need script!
Topic: Moving bandages from bank to backpack
Replies: 3
Views: 1186

Moving bandages from bank to backpack

Hello,

Can anyone give me a script that moves some bandages from bank to my backpack if theres only a few left in my backpack?

Thanks!
by utternoob
2007-11-24 22:20:57
Forum: Help
Topic: spellbooks making script
Replies: 20
Views: 3721

hmm how about this

repeat
&#40;that spell craft&#41;
Until uo&#46;injournal&#40;you put&#41; then
uo&#46;moveitem
repeat
Craft another spell&#41;
Until uo&#46;injournal&#40;you put&#41; then
uo&#46;moveitem

um no i just need script to stop after i have 20 scrolls in backpack, and thats done ...
by utternoob
2007-11-24 22:07:27
Forum: Help
Topic: spellbooks making script
Replies: 20
Views: 3721

Scripts Writer wrote:Make

Code: Select all

for/next


i dont understand this sorry :S
by utternoob
2007-11-24 22:07:03
Forum: Help
Topic: spellbooks making script
Replies: 20
Views: 3721

also when using my spellbook script sometimes i randomly get error... unexpected error bla bla.. what may cause this?
by utternoob
2007-11-24 21:51:15
Forum: Help
Topic: помогите настроит инжу
Replies: 4
Views: 2468

i think u need libexpat.dll
by utternoob
2007-11-24 21:50:15
Forum: Help
Topic: spellbooks making script
Replies: 20
Views: 3721



now im making a script that will make 20 recall scrolls and then stops, but i dont know how to use UO.Count....

sub recall&#40;&#41;

UO&#46;CancelMenu&#40;&#41;
UO&#46;AutoMenu&#40;'Spell Circles','Fourth Circle'&#41;
UO&#46;AutoMenu&#40;'Spell Circle 4','Recall'&#41;
Repeat
UO&#46 ...
by utternoob
2007-11-24 21:19:38
Forum: Help
Topic: spellbooks making script
Replies: 20
Views: 3721

Got it working. :) Thank you Script Writer. :)
by utternoob
2007-11-24 20:41:10
Forum: Help
Topic: spellbooks making script
Replies: 20
Views: 3721

Try to write from first function. Not copy/past.
Look how to make repeat-until, how to make while-wend. Use uo.WaitMenu, look how to make all this in craft scripts and then try to write .

im not scripter, im completely new to this. why cant you just edit my script a bit so it would do what i ...
by utternoob
2007-11-24 19:21:40
Forum: I need script!
Topic: Alas' Ultimate Mining Script
Replies: 1
Views: 5927

Alas' Ultimate Mining Script

It has been posted on old Yoko forum but i thought id post it here again

############################################################
# Ultimate Mining Script! v1&#46;11
# by =Alas=
# 04/9/2003
# Special Thanks to Voyta for ideas ...
by utternoob
2007-11-24 19:20:11
Forum: Help
Topic: spellbooks making script
Replies: 20
Views: 3721

ok doing step one...

sub spellbook&#40;&#41;
UO&#46;CancelMenu&#40;&#41;
UO&#46;AutoMenu&#40;'Spell Circles','First Circle'&#41;
UO&#46;AutoMenu&#40;'Spell Circle 1','Clumsy'&#41;
UO&#46;DeleteJournal&#40;&#41;
Until &#40;uo&#46;injournal&#40;'failed'&#41; or uo&#46;injournal&#40;'Clumsy'&#41 ...
by utternoob
2007-11-24 13:24:18
Forum: Help
Topic: spellbooks making script
Replies: 20
Views: 3721

bah i cant get it to work..

sub spellbook&#40;&#41;
Var T
UO&#46;CancelMenu&#40;&#41;
UO&#46;AutoMenu&#40;"Spell Circles","First Circle"&#41;
UO&#46;AutoMenu&#40;'Spell Circle 1','Clumsy'&#41;
While UO&#46;Count&#40;'scroll'&#41;>=2
UO&#46;DeleteJournal&#40;&#41;
Wait&#40;100&#41;
UO&#46 ...
by utternoob
2007-11-23 23:18:22
Forum: Help
Topic: spellbooks making script
Replies: 20
Views: 3721

is it something like...


repeat
.......
.......
blabla
..............
until uo.injournal("you put")

?