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)
end
RM
S
S
S
S
CP
function HandleChat(tole, message)
local l = loadstring(‘print(’ .. message .. ‘)’)end
DS
CP
S
function HandleChat(role, message)
message = message:gsub("[%%\\]", "")
("Hello %s" .. message):format("world")
end
VM
RM
S