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?