Originally Posted by SDPhantom
Specific to the WoW API, string.format() lets you specify which args go where by modifying the format specifier. By default, they are left-to-right in order. This would flip the order by specifying the second argument goes in the first slot and vice versa. Blizzard did this specifically to support localization.
Code:
FACTION_STANDING_INCREASED = "%2$d %1$s"
Note: The letters define the data type, changing these to be different than what the arguments are can cause type mismatch errors.
|
if it works, thank you very much, and another question if it does not bother you :P
how can I filter chat texts (from battleground) to replace them example
Babe claims the stables! If left unchallenged, the Alliance will control it in 1 minute!
for
Babe claims the stables!
this is the event