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...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..