Page 1 of 1

Ant-Thief

Posted: 2005-10-03 22:55:17
by Palerique
I need a script that check the actual weight and if it are < the last weight the char say .g.

Becausae I have big problems with thiefes :evil: :evil: :evil: :evil: :evil: .

Tks,
PH

Posted: 2005-10-03 22:57:59
by flake

Code: Select all

sub AntiThief()
  var temp =uo.weight
     while temp == uo.weight
       wait(50)
     wend
  uo.msg( '.g.' )
endsub

What it does?

Posted: 2005-10-03 23:02:30
by Palerique
What it does? :shock: :?:

I Don`t need exactly that.

I want a script that check if the weight are < a 5 seconds after (Because I`m mining) and a script that auto load again how many times I`m conected at server.

Re: What it does?

Posted: 2005-10-04 00:46:16
by I{oJIxo3
Palerique wrote:What it does? :shock: :?:

I Don`t need exactly that.

I want a script that check if the weight are < a 5 seconds after (Because I`m mining) and a script that auto load again how many times I`m conected at server.

Code: Select all

sub alarm()
var w
repeat
#UO.DeleteJournal()
w=UO.Weight()
wait(5000)
if UO.Weight<w then
UO.Say(".g. pshol otsyuda ...")
endif
until UO.InJournal("To heavy")
end sub


if you want you can change UO.Say on playsound ...
And run like a second script.
i'm not sure about 'to heavy' you should check.