Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Very basic question on CRS scripts

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
New Member

Re: Very basic question on CRS scripts

shikamarunara,

You can do something like

queuelength >=3 && queuelength <=6

2 REPLIES
New Member

Re: Very basic question on CRS scripts

shikamarunara,

You can do something like

queuelength >=3 && queuelength <=6

New Member

Re: Very basic question on CRS scripts

Thank you, hieptran. Much obliged.

-Shikamaru

120
Views
0
Helpful
2
Replies
CreatePlease to create content