January 10, 20179 yr How can I know if my player is in a clan chat? I don't think there's a config value for it and I cbf checking the clan chat screen every 3 seconds.
January 10, 20179 yr Author http://osbot.org/forum/topic/84362-check-if-user-is-in-clan/ I don't think this'll work if the clan chat is not open. public boolean isInClanChat() { RS2Widget talkingIn = script.getWidgets().getWidgetContainingText("Talking in:"); return (talkingIn != null && talkingIn.isVisible() && !talkingIn.getMessage().contains("Not in chat")); }
Create an account or sign in to comment