Jump to content

Recommended Posts

Posted
var
item: TL2Item;

begin


if inventory.user.byid(11259, item) and not (Item.Equipped) then begin
Delay(500);
Engine.UseItem(11259); 
Delay(800);
end;
end.

I need that this script be a kind a of a "loop". I mean, check the weapon again and again

Posted (edited)


var

item: TL2Item;

 

begin

while true do begin

 

if inventory.user.byid(11259, item) and not (Item.Equipped) then begin

Delay(500);

Engine.UseItem(11259);

Delay(800);

end;

end;

end.

 

Edited by arturo134
Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock