somes doubts 2

Ask for help

Moderators: Murderator+, Murderator

Post Reply
lixo
Posts: 9
Joined: 2004-05-08 00:34:20

somes doubts 2

Post 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?
Xpol
Posts: 14
Joined: 2004-05-04 00:06:57

Post 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
lixo
Posts: 9
Joined: 2004-05-08 00:34:20

Post 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?
Lord Ruslan Nightmare
Expert!
Posts: 359
Joined: 2004-04-25 11:11:07
Contact:

Post 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
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...
Post Reply