Is it possible to just keep track of specific monsters?
Is it possible to just keep track of specific monsters?
is possible to get last line of file in bot? for example if i have script like this
i want to get in bot last nick from script to checks, like this:PHP Code:
auto(1000)
local filename = $name .. '.txt'
local handler = nil
if handler == nil then
handler = io.open(filename, 'a+')
end
handler:write(('"'),$name,('"') .. '\n')
if handler ~= nil then
handler:close()
end
PHP Code:
if last line = ('"'),$name,('"') then
blablabla
end