Signup Now
Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Banned
    Join Date
    Dec 2013
    Location
    Porto Alegre - RS
    Posts
    524
    Reputation
    61
    Rep Power
    0

    Made your own configuration section

    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:

    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"
      }
      ]
      }
    Now to get the informations into a string you use this code:
    Code:
    getuseroption("NAME")
    See the e.g. for the above user options code:

    Code:
    food = getuseroption("Hunt to Food?")
    weapon = getuseroption("Which weapon?")
    name = getuseroption("Your Name")
    Always i use "say" command to check if it works

    Put under the whole code like:
    Code:
    say(food)
    wait(123,456)
    say(weapon)
    wait(123,456)
    say(name)
    wait(123,456)
    Well, i think it helps all, it takes the bot more beautiful and simple

  2. #2
    Moderator mistgun's Avatar
    Join Date
    Dec 2013
    Location
    Lodz, Poland
    Posts
    1,821
    Reputation
    220
    Rep Power
    26
    nice one !

  3. #3
    Free User leandrocore's Avatar
    Join Date
    Dec 2013
    Location
    Lucksstore.com
    Posts
    261
    Reputation
    41
    Rep Power
    21
    very good this system

  4. #4
    Free User cloudz's Avatar
    Join Date
    Dec 2013
    Posts
    3
    Reputation
    10
    Rep Power
    0
    Very helpful!

  5. #5
    Free User vinera ambition's Avatar
    Join Date
    Dec 2013
    Posts
    14
    Reputation
    11
    Rep Power
    0
    thnx for info

  6. #6
    Moderator RoxZin xD's Avatar
    Join Date
    Dec 2013
    Location
    Rio de Janeiro
    Posts
    4,914
    Reputation
    109
    Rep Power
    31
    You're helping us a lot, thanks mate!

  7. #7
    Free User
    Join Date
    Dec 2013
    Posts
    28
    Reputation
    7
    Rep Power
    0
    Nice job, very helpfull

  8. #8
    Free User pvzin's Avatar
    Join Date
    Dec 2013
    Location
    USA
    Posts
    974
    Reputation
    48
    Rep Power
    22
    I really like how simple and easy this bot is. Damn!

  9. #9
    Free User Xeromex's Avatar
    Join Date
    Dec 2013
    Posts
    160
    Reputation
    15
    Rep Power
    21
    This is pretty fuckin' awesome!
    I'm gonna put this in all my scripts.

  10. #10
    Free User Xeromex's Avatar
    Join Date
    Dec 2013
    Posts
    160
    Reputation
    15
    Rep Power
    21
    Is it possible to save the values entered last?

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •