Im trying to make my script more friendly by making it search for the widgets rather than using fixed ids, after a while on the api i found getWidgetContainingText, so i went to the code that changes the settings on start. Im trying to change the roof setting, so the first widget it goes for is the Display tab, but with some testing if the chat tab is open it will go towards the display name option.
Is there any other method i could use without using a widget list?
Edit: Started messing with the widget debugger and found its sprite id