Jump to content

Help With This Script


perrofunk

Recommended Posts

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

Link to comment
Share on other sites


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
Link to comment
Share on other sites

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