tangogc Posted August 2, 2006 Share Posted August 2, 2006 How can I use the regular expression branding system In the branding I usually put ]GAMESCLAN.COM[ but the user some time give colors to that and the branding system disable the server. Could some one explain me, please thanks in advance Link to comment Share on other sites More sharing options...
ECF Posted August 2, 2006 Share Posted August 2, 2006 I have not tired it yet, but I think if you set the "regular Expression" field, TCAdmin will search for the expression within the hostname regardless of where the branding is place. Example: If you enter "Gamesclan" in the regular expression field, TCAdmin will search the hostname for that string. I believe it can be anywhere in the hostname, which means you could add color format etc... So if the hostname was My Server is awesome Gamesclan, it would be ok. But if the user removes the Gamesclan, then it will warn you. Try it on one of your severs Deigo Link to comment Share on other sites More sharing options...
tangogc Posted August 2, 2006 Author Share Posted August 2, 2006 Great ECF I will try and update Link to comment Share on other sites More sharing options...
LFA Posted August 5, 2006 Share Posted August 5, 2006 Regular expressions can be used for things a lot more complicated than that. Take a look at this example: http://www.tcadmin.com/forum/index.php?t=msg&goto=8996&a mp;rid=3#msg_8996 Link to comment Share on other sites More sharing options...
badster Posted October 17, 2006 Share Posted October 17, 2006 Can you post the URL after ../forum/ for the link so I can copy and paste. Can't get the link to work. Link to comment Share on other sites More sharing options...
tangogc Posted April 25, 2009 Author Share Posted April 25, 2009 Regular expressions can be used for things a lot more complicated than that. Take a look at this example: http://www.tcadmin.com/forum/index.php?t=msg&goto=8996&a mp;rid=3#msg_8996 I forgot this from a long time, could you please make some example on the regular expression pattern please (the link is dead from the old forum) Thanks in advance LFA and Kevin Link to comment Share on other sites More sharing options...
Gatsu Posted October 21, 2009 Share Posted October 21, 2009 yeah link is broken would love to see an example of the real power this could pull out Link to comment Share on other sites More sharing options...
LFA Posted July 20, 2010 Share Posted July 20, 2010 Here's the missing post. What I would find it useful is for the ability to allow your clients to use different brandings. For example: This: [\*\[\+]MyGSP[\*\]\+] Would allow your clients to have 3 different brandings: *MyGSP* [MyGSP] +MyGSP+ Or you can allow them to place your name in lowercase: [\*\[\+]MyGSP|mygsp[\*\]\+] This would allow: *MyGSP* [MyGSP] +MyGSP+ *mygsp* [mygsp] +mygsp+ Here is a regular expressions tester that you can use to test your regular expressions: http://ioctl.org/jan/test/regexp.htm And a regular expression reference: http://www.regular-expressions.info/reference.html Link to comment Share on other sites More sharing options...
bullfrog3459 Posted July 21, 2010 Share Posted July 21, 2010 Here's the missing post. awesome! little late, but none-the-less useful! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.