Create a free account to remove all ad content.

Author Topic:  q about a script  (Read 359 times)

0 Members and 1 Guest are viewing this topic.

.ok

  • Supreme Member
  • *
  • Posts: 2212
    • View Profile
q about a script
« on: December 13, 2016, 05:12:34 AM »
is there a way to determine a set area for what a script looks for,or to where if say you have a max value of 10,but want the queries to come out true or false if it falls between say 4-8,then action a will happen,otherwise if its below 4 or above 8,then action b happens

i assume something as far as a  Var script would prob be the solution,just idk what i would use in this situation
« Last Edit: December 13, 2016, 05:39:09 AM by .ok »




Craig

  • Developer
  • Extreme Member
  • *
  • Posts: 6655
  • Dig Deep
    • View Profile
    • Twitter
  • Steam: tota1miner
Re: q about a script
« Reply #1 on: December 13, 2016, 05:39:26 AM »
if
  some query [>=] [4]
  some query [<=] [8]
then
  do a
else
  do b
endif