I think this is Raphaels hotkey, not sure atleast I can tell you it's not mine so no credits go to me. But this hotkey hasn't ever, not once, failed me.
init start
local Skills = {
-- Downgrade
Death = true,
-- Upgrade
Level = true,
Magic = true,
Fist = true,
Axe = true,
Club = true,
Sword = true,
Distance = true,
Shielding = true,
Fishing = true,
}
-- DO NOT EDIT BELOW --
init end
auto(400, 800)
foreach newmessage m do
if m.type == MSG_STATUS or m.type == MSG_ADVANCE then
local Skill = m.content:match('You advanced .- (.-)[%s%.].-')
if Skill and Skills[Skill:capitalize()] then
screenshot(string.format('Advance_%s_%s', $name, os.date('%Y-%m-%d %H-%M-%S')))
elseif Skills.Death and m.content:match("You were killed (.+)") then
screenshot(string.format('Death_%s_%s', $name, os.date('%Y-%m-%d %H-%M-%S')))
end
end
end