Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local text = "Администратор: Andrew_Sheredega[526] забанил John_Shoton[552] [3 Предупреждения]. Причина: aim [Rifa / 10]"
- if text:find("Администратор: .+ забанил .+ %[3 Предупреждения%]%. Причина: .+ %[.+ / %d+%]") then
- local admin, player, reason, frac, rank = text:match("Администратор: (.+) забанил (.+) %[3 Предупреждения%]%. Причина: (.+) %[(.+) / (%d+)%]")
- if admin:find("%[%d+%]") then admin = admin:match("(.+)%[%d+%]") end
- if player:find("%[%d+%]") then player = player:match("(.+)%[%d+%]") end
- print(admin, player, reason, frac, rank)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement