Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is it possible to get a role id from the rank name?

Asked by 4 years ago
Edited 4 years ago

I'm making a setrank command for my group, and when i say !setrank player rank I would need "rank" as the id not the name of the role. So if I run !setrank bob admin then it would find admin in the group roles and get the id for that role. then it would print the id.

0
When I run !setrank bob admin i want it to print the id of the admin role in the group (sorry im just making it clear) LEWIS1063 6 — 4y
0
You can edit your question. Sonnenroboter 336 — 4y
0
As far as I no the answer is no. Sonnenroboter 336 — 4y
0
actually yes you can, use a proxy api and then iterate through the response till you get to the admin role and then the rank is there. Cald_fan 26 — 4y

Answer this question