filter sytax

Designing a filter? Get tips and advice from other users. Suggest new filter features here too.

Moderators: Support, Moderators

filter sytax

Postby signa » Sun Mar 02, 2008 8:01 pm

how would i create a filter to filter out servers that have "24/7" included in their server name?

I'm not sure I got the filter syntax correct.
Register your copy of Qtracker to support future versions and get access to the Registered members forum and download new releases of Qtracker before they become public!
User avatar
signa
Qtracker Registered Owner
Qtracker Registered Owner
 
Posts: 706
Joined: Mon Oct 17, 2005 10:22 pm
Location: Detroit

Re: filter sytax

Postby ron.mercer » Mon Mar 03, 2008 10:03 am

signa wrote:how would i create a filter to filter out servers that have "24/7" included in their server name?

I'm not sure I got the filter syntax correct.

I could read your question two ways, so I'll give you two ways to make the filter just to be safe:

To hide servers that have 24/7 in the name when active:

Code: Select all
if find( [$server_name], "24/7") == -1

To only show servers with 24/7 in the name when active:

Code: Select all
if find( [$server_name], "24/7") != -1
Ron Mercer
Qtracker

Image
User avatar
ron.mercer
Site Admin
 
Posts: 3298
Joined: Tue Dec 09, 2003 5:01 pm
Location: Ohio, USA

Re: filter sytax

Postby signa » Tue Mar 04, 2008 2:39 pm

perfect thanks!
Register your copy of Qtracker to support future versions and get access to the Registered members forum and download new releases of Qtracker before they become public!
User avatar
signa
Qtracker Registered Owner
Qtracker Registered Owner
 
Posts: 706
Joined: Mon Oct 17, 2005 10:22 pm
Location: Detroit


Return to Filters

Who is online

Users browsing this forum: No registered users and 1 guest