get_clan_tag
I need to get clan tag from names of 2 or more players.
For example I have 2 names: <GooD TEam> ANdy <GooD TeaM> cANdy Clan Tag should be <GooD TeaM> or RON 'killers Tonny 'killers Clan Tag should be 'killers it can be any other names with same clan tags.. so i need something like this: PHP Code:
|
Re: get_clan_tag
you must get the names of all players & then replace
PHP Code:
|
Re: get_clan_tag
read my post fist =) and then answer ^^
|
Re: get_clan_tag
You can't do that, because clan tag format can differ from one to other, like <WTF> |WTF| 'WTF' .:WTF:. and so...all you can do is to get the name and check for symbols like "<|'." then take the string between that symbols.
|
Re: get_clan_tag
man... but if there A two names like:
<GooD TEam> ANdy <GooD TeaM> GGg So we can find the same <GooD TeaM> ??? I talking about comparing 2 or more names and finding the same part that must be a clan tag |
Re: get_clan_tag
You could start comparing each cell separately from the beginning of the names and check when they don't match anymore. Somehow for only two players and why not more, there's a chance for:
"[ Best Team > Manny" "[ Best Team > Molly" So whether you were going to remove the tag, the guys would get names of "anny" and "olly". |
Re: get_clan_tag
i don't wanna to remove the rag =) just get to print it
|
Re: get_clan_tag
Quote:
Quote:
"[ Best Team > M" |
Re: get_clan_tag
Quote:
Someone give me the code of this. I need this funtion even with that bug. +karma |
Re: get_clan_tag
Code:
|
| All times are GMT -4. The time now is 22:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.