Quote:
Originally Posted by Nadiar
I need this to work with servers with a space in the title. I saw someone hardcoded kul tiras to work on their forum, but I need it to work with several different ones. Does anyone have any clues?
I'm guessing I need to change some of the preg_replace to accept a space.
Code:
preg_match("/(.*)-(.*)/", $realm, $match);
needs to be changed maybe?
|
I've tested this on servers without spaces, with spaces, without ' with ' and all combonations, all of them work. My character is on a realm with a ' in it. several users of this mod are on realms with spaces in them.
If you are having a specific issue
I NEED THE CHARACTER NAME AND REALM YOU ARE USING. Please don't just say it doesnt work for this and that without providing me any details as to what isn't working.
The line you listed above only does anything if the value of the [char] option has a - in it (i.e. [char=EU-Server]Character[/char]