[CMD]SetPerc

0 645 Views No Comments 3 years ago
  • SetPerc Command creates a dropdown box to select percentage from 0-100 which is used as a replacement of the normal input command.

    Helps to avoid making mistakes with percentages when things are 0-1 not 0-100
    this command is set to 0-1 but easily changed to suit by updating the lists.

    Example of how to use

    local maxBudget = CC_SetPerc('01D. Balance Budget', '80%', 'Budget & Safety')

    • This topic was modified 3 years ago by Strooth.
    HaasScript Code
    Sign in or Register to download for free
Login or Register to Comment

Unlock your crypto trading potential

Create a free account and enjoy everything we have to offer.

Join for Free