Page 1 of 1

somes doubts 2

Posted: 2004-06-07 22:07:47
by lixo
i wish to create a script that do this algoritm

when appear something in journal
do something

well i tried with until and dont work.
i dont know if im being clear.
i wish a script that keep sleeping, waiting for work, dont matter how time it can get. then, when appear somethin in journal the scrill will do what i want
there is any when command in injections script???


and another thing is
sub main()
if (uo.life) = (uo.str) then
UO.Print("ok. it is working")
endif
end sub

it isnt working but if i erase = and place > or < its work.
is it like fortran that when i have to comparate two thing i have to use some comands like .eq. or .gt.?
help me! :)

***************
edited
**************
and how can i access bank from a sign? use the sign then, how can i choose the right button?

Posted: 2004-06-08 17:32:07
by Xpol
sub main()
if (uo.life) = (uo.str) then
UO.Print("ok. it is working")
endif
end sub

try this :

if (uo.life) == (uo.str) then
UO.Print("ok. it is working")
endif

Posted: 2004-06-11 03:49:38
by lixo
When i press twice the sign, appear a screen. In this screen there is a option to access my bank. To i access my bank i have to click it. How can i do this

or

After i use my bs hammer, how can i choose a platemail chest using inject?

Posted: 2004-06-11 17:00:50
by Lord Ruslan Nightmare
you can click anywhere with uo.Lclick() routine
you can choose a gump reply with uo.recall("self","number") (you must do ",set norbckeck 1;set norbcalc" before) See FAQ for details