#is there a way to assign game roles in rec room AUTOMATICALLY from discord roles?
64 messages · Page 1 of 1 (latest)
Have a list of account names, then when a player joins, see if their account name is on that list. If so add role.
how on earth would i do that though
List create, list contains, role add.
i just started rec room circuits a few weeks ago so im fairly new
player add role?
Ye
Yes
okay
Make sure you're using account name, not display btw
gotcha
thank you
for the list create is each one just meant to be a name?
or is it list contains that takes the name
The list create should have the account names for the role
what do i actually click to insert the account name
i click on item on list create and its just blank
Connect the list create to the list varible of the list contains
Then on the Item port of the list contains, use a Get Local Player and use Player Get Account Name
Then boom, the strings should all pop up
player get all with tag?
no worries take your time im actually grateful your helping me rn
i got this
but it just says local player on the left and invalid player how do i actually assign it?
should i replicate that?
Ye
just not the actual names inside the strings 💀
Nah man do those for sure 
wheres the player add role chip?
After the Then
Yup
For other roles just use the Else from the If, and the Right output of the Player Add Role as their exec.
would it still work if i just copy and pasted that exact thing a few times?
and changed the roles and string and whatever
Don't use the player joined event again but yeah
alright yea
Ye use these two
can you use only one player joined event in a whole room?
or is it just a matter that it will bug out
No, it's just unnecessary
alright
thanks for the help
is it alright if i dm you tomorrow in case it doesnt work as its like 1:38 am for me rn
its okay if not
Nah it's fine, I may not be on tho for a bit
where you from btw?
I'm EST
Ight cya
cya
I actually prefer to use Value String Switch with the match being Player Get Account Name
But I can see why lists would be better, since List Get First Index Of can output -1 if the account name is not in the list