You want your OWN configuration like this in the bot???
This image is hosted on a possibly dangerous website (http://puu.sh/5Ii0W.png). Please consider reuploading it on Imgur.com.
Well here i will show you a quickly tutorial about this, this simply the life of Users of the script.
First of all, you need to go to CaveBot//Settings and click Edit User Options then you put your code there, below i will paste the image above code:
Now to get the informations into a string you use this code:Code:{ "type" : "group", "name" : "Your own Config", "children" : [ { "type" : "checkbox", "name" : "Hunt to Food?", "text" : "Hunt to food?", "value" :true }, { "type" : "combobox", "name" : "Which weapon?", "text" : "Which weapon?", "items" : ["Axe", "Sword", "Club"] }, { "type" : "lineedit", "name" : "Your name?", "text" : "Your name?", "value" : "Default" } ] }
See the e.g. for the above user options code:Code:getuseroption("NAME")
Always i use "say" command to check if it worksCode:food = getuseroption("Hunt to Food?") weapon = getuseroption("Which weapon?") name = getuseroption("Your Name")
Put under the whole code like:
Well, i think it helps all, it takes the bot more beautiful and simpleCode:say(food) wait(123,456) say(weapon) wait(123,456) say(name) wait(123,456)