So what I'm looking for is a persistent that changes the looting action for (e.g.) Energy Ring (Loot/Ignore) depending on my User Options.
Here is my User Option:
{
"type" : "group",
"name" : "Looting Settings",
"column" : 1,
"row" : 3,
"children" :
[
{
"type" : "checkbox",
"name" : "rings",
"text" : "Loot Energy Ring?",
"value" :true
}
]
}
And here's my current (not working) persistent.
auto(300)
if (getuseroption("rings")) then
setsetting('LootList/Item/energy ring/action', 'Loot')
else
setsetting('LootList/Item/energy ring/action', 'Ignore')
end
The only thing I actually need help with is finding out what the directory/adress to changing the action is. Bare with me, I've only been using WindBot for 5 days
Thanks in advance!