View Full Version : When item X > Targeting OFF
Elizabeth
05-31-2016, 06:14 AM
Hello Friends!
I need one script:
- When items (ID - 238) is less than 100 Xeno turn off targeting, and when is above than 100 my targeting is turned on.
Please Help, Peace.
Trykon
05-31-2016, 10:59 AM
while true do
if(Self.ItemCount(238)=<100) then
Targetnig.Stop()
else if(Self.ItemCount(238)>100) then
Targeting.Start()
end
end
enjoy :)
Elizabeth
06-04-2016, 02:18 AM
while true do
if(Self.ItemCount(238)=<100) then
Targetnig.Stop()
else if(Self.ItemCount(238)>100) then
Targeting.Start()
end
end
enjoy :)
XenoScript Error:
Script: AAAAAAAAX.lua
Line #: 2
Chunk: C:?Users?Eliza?DOCUME?1?XenoBot?Scripts??AAAAAA?1. LUA
Error: ')' expected near '='
This is an error with user-input and should not be reported as a bug with XenoBot.
This is don't work :(
Trykon
06-04-2016, 12:49 PM
Sorry... there should be <= I made mistake and pu this opposite on 2nd line
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.