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: 903

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: 3533

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()
while 1
uo.moveitem ...
by utternoob
2008-03-07 22:29:03
Forum: Help
Topic: ,setreceivingcontainer doesnt work for me
Replies: 12
Views: 3533

,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: 2073

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

thats all i needed

sub getBandagesFromBank2()
while NOT UO.Dead()
if uo.count('bandage') < 100 then
uo.findtype('bandage', "-1", uo.objAtLayer( "Bank" ) )
endif
uo.moveitem( "finditem", "100")
wait(5000)
wend
endsub
by utternoob
2008-02-27 20:17:38
Forum: Help
Topic: How to loop this script forever?
Replies: 7
Views: 2073

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: 2073

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: 1444

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()
repeat
if uo.count('bandage') > 500 then
uo.print( "I already have more than 500 bandages." )
return false
endif
uo.findtype('bandage', "-1 ...
by utternoob
2008-02-27 17:48:21
Forum: I need script!
Topic: Moving bandages from bank to backpack
Replies: 3
Views: 1444

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: 1444

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: 4679

Mazer wrote:hmm how about this

Code: Select all

repeat 
(that spell craft) 
Until uo.injournal(you put) then
uo.moveitem
repeat
Craft another spell)
Until uo.injournal(you put) then
uo.moveitem
um no i just need script to stop after i have 20 scrolls in backpack, and thats done with UO.Count i think
by utternoob
2007-11-24 22:07:27
Forum: Help
Topic: spellbooks making script
Replies: 20
Views: 4679

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: 4679

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: 2738

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

:)

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()

UO.CancelMenu()
UO.AutoMenu('Spell Circles','Fourth Circle')
UO.AutoMenu('Spell Circle 4','Recall')
Repeat
UO.DeleteJournal()
wait(100)
UO.UseType("scroll")
wait ...
by utternoob
2007-11-24 21:19:38
Forum: Help
Topic: spellbooks making script
Replies: 20
Views: 4679

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

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 want ...
by utternoob
2007-11-24 19:21:40
Forum: I need script!
Topic: Alas' Ultimate Mining Script
Replies: 1
Views: 6107

Alas' Ultimate Mining Script

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

############################################################
# Ultimate Mining Script! v1.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: 4679

ok doing step one...

sub spellbook()
UO.CancelMenu()
UO.AutoMenu('Spell Circles','First Circle')
UO.AutoMenu('Spell Circle 1','Clumsy')
UO.DeleteJournal()
Until (uo.injournal('failed') or uo.injournal('Clumsy'))
Wait(100)
UO.UseType("scroll")
Wait(100)
Wend
UO.CancelMenu()
UO.Print("scroll has ...
by utternoob
2007-11-24 13:24:18
Forum: Help
Topic: spellbooks making script
Replies: 20
Views: 4679

bah i cant get it to work..

sub spellbook()
Var T
UO.CancelMenu()
UO.AutoMenu("Spell Circles","First Circle")
UO.AutoMenu('Spell Circle 1','Clumsy')
While UO.Count('scroll')>=2
UO.DeleteJournal()
Wait(100)
UO.UseType('scroll')
T=UO.Timer()
until (uo.injournal('failed') or uo.injournal(ItName ...
by utternoob
2007-11-23 23:18:22
Forum: Help
Topic: spellbooks making script
Replies: 20
Views: 4679

is it something like...


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

?