S
string.format(template_str, arg1, arg2, arg3, ...)Size: a a a
S
string.format(template_str, arg1, arg2, arg3, ...)CP
CP
RM
DS
RM
AZ

S
function HandleChat(role, message)
("Hello %s %s"):format("world", message)
endRM
S
S
S
S
CP
function HandleChat(tole, message)
local l = loadstring(‘print(’ .. message .. ‘)’)endDS
CP
S
function HandleChat(role, message)
message = message:gsub("[%%\\]", "")
("Hello %s" .. message):format("world")
endVM
RM
S