cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
369
Views
0
Helpful
2
Replies

Very basic question on CRS scripts

shikamarunara
Level 4
Level 4

I have an "if" statement in a script I'm putting together. If I want to create a condition where a variable equals "3". I could enter

queuelength == 3

What would this look like if I wanted to create a condition of queuelength being equal to a variable between 3 and 6?

1 Accepted Solution

Accepted Solutions

Hiep Tran
Level 1
Level 1

shikamarunara,

You can do something like

queuelength >=3 && queuelength <=6

View solution in original post

2 Replies 2

Hiep Tran
Level 1
Level 1

shikamarunara,

You can do something like

queuelength >=3 && queuelength <=6

Thank you, hieptran. Much obliged.

-Shikamaru

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: