I need help with a hotkey. Can't get it to work. The setsettings thingie works in an action waypoint but not in my hotkey. I want it to set the special area to target when i attack a specific monster otherwise not.
This is what I did so far:
if target.name == "Dragon" then
setsettings('Settings\\CaveBot\\Pathfinding\\Speci alAreas\\Room1\\ConsideredBy', 'Target')
setsettings("Settings\\CaveBot\\Pathfinding\\SpecialAreas\\Room 1\\ConsideredBy", "None")