plyComposeString

function (plyComposeString player string [arg1 arg2 ... argn]) → text

When composing the string the following substitutions are made:

%name% player name
%he% he or she
%his% his or her (matching case)
%hers% his or hers (matching case)
%him% him or her (matching case)
%sir% sir or ma’am (matching case)
%man% man or woman (matching case)
%brother% brother or sister (matching case)
%son% son or daughter (matching case)
%% %
%1% arg1
%2%