Signup Now
Results 1 to 4 of 4
  1. #1
    Free User
    Join Date
    Jan 2014
    Posts
    32
    Reputation
    10
    Rep Power
    0

    Jsons epic, butttttt

    Love this thing, makes everything so fancy. However, is there a way that if I make a checkbox I could use it to enable/disable a script in scripter? I've searched but couldn't find anything on this topic:/ if not its not an impossible task to load myself but would make the script I'm working on much easier to setup. Thanks!

  2. #2
    Free User Nightshade's Avatar
    Join Date
    Dec 2013
    Location
    Brasil
    Posts
    513
    Reputation
    31
    Rep Power
    22
    i think it is possible we just need an example
    Tibia player since 2003

    +Rep Everyone That Helped You.

    New on WindBot?, Try this amazing tutorial

  3. #3
    Free User
    Join Date
    Jan 2014
    Posts
    32
    Reputation
    10
    Rep Power
    0
    Hurray! Okay so say I have a script that when enabled, says 'Hello World!' but when disabled nothing happens. Is there a way I can use the Json to have it on the cavebot settings tab with a checkbox saying enable greeting? if checked it will enable to script if unchecked the script remains disabled?
    Does that make a little more sense?

  4. #4
    Free User L!p3's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    52
    Reputation
    21
    Rep Power
    21
    Leave the script enabled and add a variable in there to only work when the checkbox is marked.



    Mammoths X1 [30+]
    EK | RP
    Mutated Temple [80+]
    EK | RP
    Middle Vampire Crypt [90+]
    ED/MS
    Isle of Strife [140+]
    EK
    Edron Vampire Crypt [170+]
    ED/MS
    Edron Behemoths [235+]
    ED/MS
    Rathleton Sewers [240+]
    RP
    Hardcore Draken Walls [400+]
    EK

 

 

Tags for this Thread

Posting Permissions

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