Quote:
Originally Posted by Crow
PHP Code:
temp.nick = player.nick.substring(0, player.nick.pos("(")).trim();
Should do the trick.
|
This would be a problem if someone used "(" in their actual name, it would probably be better to do:
PHP Code:
temp.nick = player.nick.substring(0, player.nick.pos("(" @ player.guild @ ")")).trim();