-
Auto look item?
Hello!
I developed a script whose gets imbuements time from looking item.... Otherwise I can't find how to look an item...
Code:
continue = false
cont = 0
char = {}
foreach newmessage m do
if m.type == MSG_INFO then
local msg = m.content:match('.- ')
if m.content:match('Void') then
for token in string.gmatch(m.content, "[^%s]") do
char[cont] = token
cont = cont + 1
end
for i = 0, cont do
if char[i] == "V" and char[i+1] == "o" and char[i+2] == "i" and char[i+3] == "d" then
if char[i+5] ~= ":" then
hour = char[i+4] .. char[i+5]
minute = char[i+7] .. char[i+8]
else
hour = char[i+4]
minute = char[i+6] .. char[i+7]
end
waitping()
setuseroption('horas', tonumber(hour))
waitping()
setuseroption('min', tonumber(minute))
hour = ""
minute = ""
end
end
end
end
end
Do you know how to look an item?
-
Use contextmenu function, there's info about how to in teh Docs I think
-
I know i've been a little bit for the party but you guys have any idea if there's a way to use the imbuement machines via the bot? Maybe using contextmenu and some keyevents ... but ive been unable to find it anywhere, i dont think anyone even has made it.
-
As it is one of my products I cannot tell You much, yet stay assured that it's possible to make fully automated autoimbuing :)