I know it's kinda hard to understand the title, I know I am noob and I can't do it by myself, but I have searched for several hours now and I can't find a solution,
Here's my code:
Here's my code:
Code:
on chat:
set {_messages} to the messages that a player has sent in the last 5 minutes
command /chatlogs [<offlineplayer>]:
permission: chatlogs.check
permission message: &cNo permissions
trigger:
send "&6&lChat logs of &e%arg-1%"
send "&c%{_messages}%"