please script for:
turn off targeting if 5 or less royal spear
auto(200)
if itemcount("royal spear") <= 5 then
setsetting('Targeting/Enabled', 'no')
else
setsetting('Targeting/Enabled', 'yes')
end
Hello,
I have a question about a command. I made a fully working rook script from 1 -> 8 but when I put on my manatrainingrule, in the knight cave, the bot does not know I have chosen the knight vocation yet and has still the "non-vocation" in his memory. How can I change the $voc parameter in lua-style? ( I don't want to manual choose it since I want to have it work full automatic )
I am searching for the right command but I cant find it anywhere. I know how to read it but I dont know how to change it. ( like : setsetting($voc, 1) or whatever, I dont have a clue what the pathname is )
I am now turning my manatraining spell on like this :
setsetting('ManaTrainer/Rules/WoundCleansing/Enabled', 'yes')
It is enabled, thats for sure but it doesnt cast it.
Thx in advance
Last edited by wimme; 04-15-2014 at 02:27 PM.
The script doesnt work because the bot doesnt update the parameter I think.
I just choose the knight-vocation at the isle of destiny and looked what it would do with the "$vocshort"-parameter with a hud:
{'Vocation', function() return $vocshort end}
and it gives back : NV. So I think the bot only reads my vocation at log in and does not update it.
Now the windowclient says : Windbot 2.1.6 - ..........: No-Vocation, Lv 8. And clearly I am a knight.
But if I want the bot to work, I need to relogg or manual go to : edit --> Character Vocation --> Knight --> Ok.
Then the windowsclient says: Windbot 2.1.6 - ................. : Knight, Lv 8
If I do that, your script enables the manatrainer and the bot works like a charm.
But I am looking for a way to change "$vocshort" from "NV" to "K". Or a way to let it check my character again and read my characters vocation without relogging or manual set it to "knight".
Ah, I get what you mean. Why don't just make it relog on its own? Seems like an easy solution
Edit:
Just add a HK for it instead?
auto(200)
if $mppc >= 30 then
cast('exura ico')
end
name it to, f.e. "Mana Trainer"
then put an action after you've chosed voc in ur waypoints -
@wimmesetsetting('Persistent/Scripts/Mana Trainer/Enabled', 'yes')
If it is not yet made what about a Boss task counterand when killed 300 tarantulas go to label xxx
Nvm im just blind apparently :P Thanks for script ahah
Last edited by Kwazy; 04-19-2014 at 03:15 AM.
Can you make for me energy ring/ssa EQUIPPER + UNEQUIPPER? For example when i put Shift + C it wear e ring on finger, but when i put shift + C again, it put it e ring to backpack.
Ering:
if $finger.id == 0 then
equipitem('energy ring', 'finger', $back.id, 1)
else
unequipitem('finger', $back.id, 1)
end
SSA:
if $neck.id == 0 then
equipitem('stone skin amulet', 'amulet', $back.id, 1)
else
unequipitem('amulet', $back.id, 1)
end
Last edited by mistgun; 04-20-2014 at 04:26 PM.
Latest Scripts: Ultimate Dawnport FACC Spots Souleater Tunnels Useful Lua: