odie3 wrote:Hi Ron,
How do you do a rule where you want to find servers with a Like or Contains?
Say you have a server Title, "I am Server running This and That". Then I want to create a filter where it shows all servers that have "This" in the title.
Does this make sense?
if find([$server_name], "this", 0) != -1
odie3 wrote:Okay, got that to work for title but then thought I rather do MOD instead.
So, here is an example for MODs: if rule("mod") == "CA;DBE1;beta;@ACE;@ACE-Islands;@opx"
I wanted to pick out ACE - but went I try to make it, it just does not work.
if find([$server_modification], "ACE", 0) != -1
if find(rule("mod"), "ACE", 0) != -1
if find(rule("mod"), "@ACE;", 0) != -1
Users browsing this forum: No registered users and 2 guests