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

0 Members and 1 Guest are viewing this topic.

.ok

  • Supreme Member
  • *****
  • Posts: 2205
  • Awards Site art contributions/TPs in-game/Contest winners 4 years on site+1000 posts Members who have unlocked the robotic avatar Donated a giveaway prize. (Must be a prize of cash value.) 3 years on site+600 posts 2 years on site+300 posts Week 1 members w/25+ posts (4/13/13-4/20/13) 1 year on site+100 posts
    • View Profile
    • Awards
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: 6497
  • Dig Deep
  • Awards Developer 4 years on site+1000 posts 3 years on site+600 posts 2 years on site+300 posts Was in the top 10 of the forum stats page as of 4/12/15 Members who have unlocked the robotic avatar 1 year on site+100 posts Day 1 w/25+ posts (4/12/13)
    • View Profile
    • Twitter
    • Awards
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