mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-15 19:22:25 +08:00
save prompt (#401)
This commit is contained in:
parent
29d20089b4
commit
3e75096e22
|
@ -38,10 +38,10 @@ function processPrompt(prompt) {
|
|||
|
||||
if (data.length > 3) {
|
||||
for (let i = 4; i < data.length; i++) {
|
||||
raw = raw.replace(new RegExp("%arg" + (i - 2), "g"), data[i]);
|
||||
raw = raw.replace(new RegExp("%arg" + (i - 2), "g"), luatr(data[i]));
|
||||
}
|
||||
|
||||
raw = raw.replace(new RegExp("%arg", "g"), data[3]);
|
||||
raw = raw.replace(new RegExp("%arg", "g"), luatr(data[3]));
|
||||
}
|
||||
return raw;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user