3,314
回編集
タグ: 取り消し |
編集の要約なし |
||
10行目: | 10行目: | ||
g = n[1]..string.rep(m[1],100) | g = n[1]..string.rep(m[1],100) | ||
if s >= 2 then | if s >= 2 then | ||
i = 2 | |||
a[i],b[i] = string.find(frame.args[1],frame.args[2],b[i-1]+1) | |||
m[i] = string.char(string.byte(frame.args[1],a[i],b[i])) | |||
n[i] = a[i] == b[i-1]+1 and "" or string.char(string.byte(frame.args[1],b[i-1]+1,a[i]-1)) | |||
--[[for i = 2,s do | |||
g = g..n[i]..string.rep(m[i],100) | g = g..n[i]..string.rep(m[i],100) | ||
end | end]] | ||
end | end | ||
o[1] = b[#b] == #frame.args[1] and "" or string.char(string.byte(frame.args[1],b[#b]+1,#frame.args[1])) | o[1] = b[#b] == #frame.args[1] and "" or string.char(string.byte(frame.args[1],b[#b]+1,#frame.args[1])) |
回編集