API substitute vars
From Vendetta Lua
substitute_vars
Definition:
substitute_vars(string in) -> string out
Description:
replace variables like:
%target%
%hailmsg%
%sector% = ShortLocationStr(GetCurrentSectorid() or 1)
%lastprivate% = GetLastPrivateSpeaker()
in 'string in'
Arguments:
int input string
Returns:
out output string