if g_game.getFeature(GameBot) and useThing and useThing:isItem() then
menu:addSeparator()
local useThingId = useThing:getId()
if useThing:getSubType() > 1 then
menu:addOption("ID: " .. useThingId .. " SubType: " .. g_game..setClipboardText(useThingId), function() end)
else
menu:addOption("ID: " .. useThingId, function() g_game.setClipboardText(useThingId) end)
end
end
on lines 571 and 573 instead of g_game.setClipboardText it should be: g_window.setClipboardText
modules\game_interface\gameinterface.lua Lines 567-575:
on lines 571 and 573 instead of g_game.setClipboardText it should be: g_window.setClipboardText