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

How to detect if an ID is a valid group?

Asked by 8 years ago

I've tried using AssetTypeId but it doesn't really have a setting for the groups such as items do. Is there a possible way of knowing if an ID inputted is a valid group?

For example, I have a text box that changes an imagelabel to the emblem ID when the text is changed, issue is.. When inputting the ID one number at a time, it tends to come back with an error. If a user inputs text rather than numbers, how can I prevent these errors from displaying?

0
Eh? Check the contents of the returned value? Like a group contains the roles, members, desc, thumbnail etc idk just guess buoyantair 123 — 8y

Answer this question