Hello! Today i wanted to add a sort of registration number to use on guns on my roleplay server.
I thought of something like this:
command /matricola:
trigger:
set {_random} to a random integer between 1 and 999
make player execute command "/setlore &7Matricola: &a{_random}"
Allthough it doesn't work, maybe i just need to find a line of code that sets the lore without a command, so i came over for help here.
(Plugin used for /setlore is SimpleRename)
Doesn't render spaces for some reason, you get the point hopefully.
I thought of something like this:
command /matricola:
trigger:
set {_random} to a random integer between 1 and 999
make player execute command "/setlore &7Matricola: &a{_random}"
Allthough it doesn't work, maybe i just need to find a line of code that sets the lore without a command, so i came over for help here.
(Plugin used for /setlore is SimpleRename)
Doesn't render spaces for some reason, you get the point hopefully.