#Adding Tags & Titles via Commands

1 messages · Page 1 of 1 (latest)

glacial scroll
#

Hey, I’m trying to make a script that lets me use chat commands to assign crew tags to players in my game. players can be part of a crew, and I want the crew name to show up as a chat tag next to their username in the chat.

I also want to be able to remove the tag and have these changes save.
The commands I had in mind are something like:

!setcrew playername crewname
!removecrew playername

But it should only work with specific crews I’ve defined. For example, it shouldn’t do anything if I type !setcrew playername staff or any random text, only valid crew names should be accepted.

It would also be great if it could automatically give the player a small title under their username in the game, like above their head.

I’ve been trying to get this to work, but it’s not working as expected. If anyone has tips or could point me in the right direction, I’d really appreciate it

shrewd hemlock
glacial scroll
shrewd hemlock
glacial scroll
shrewd hemlock
glacial scroll
#

yeah, even tried using teams together with commands to assign players to teams, which actually worked at first. But the data wouldn’t save properly, or it would reset the teams when players rejoined, and sometimes it ended up being permanent so I couldn’t change or remove teams anymore. Plus, I didn’t really want to use teams in the first place, so I tried doing it this way instead but that just won’t work at all.

#

But even with teams, the chat tags themselves still didn’t show up so I’m not sure if it’s an issue with the commands

wintry stirrupBOT
#

studio** You are now Level 1! **studio

shrewd hemlock
#

cause i havent done anything like this

#

sorry if i couldnt help that much!

glacial scroll
old basin
glacial scroll
# old basin Assuming the Crews are being stored somewhere on the server, you simply just val...

The list itself is in the script and works fine, the data just won’t save or it breaks when I use teams, and yes I can fix that but even with teams, the chat tags didn’t show up. The issue is that the command itself just doesn’t seem to run properly. It does assign the players a team, but the chat tags don’t work. Right now I’m manually adding the user and tag directly in the script and that works. I’m still trying to figure out how to get it working through chat commands instead of editing the script every time.

old basin
glacial scroll
old basin
glacial scroll
#

It says I need to be your friend to be able to add you to the place, so I just added you

old basin
glacial scroll