Code:
command /history [<text>]:
permission: history.use
permission message: {@prefix} {@permission_message}
trigger:
if {uuid::%arg-1%} is set:
send "{@prefix} &c--- &7[Logs for %{ign::%{uuid::%arg-1%}%}%] &c---"
set {_index} to 0
loop {punslogs::%{uuid::%arg-1%}%}:
add 1 to {_index}
send "&7Displaying &c%{_index}% &7punishments."
set {_index} to 0
loop {punslogs::%{uuid::%arg-1%}%}:
add 1 to {_index}
send "&c##%{_index}% &7%loop-value%"
else:
send "{@prefix} &7User mot joined."
^ That is my code, and I am having trouble making it multi-paged, can you help with that