April 10, 20169 yr I know maybe you can use widgets but how would go about detecting the purple dot on minimap?
April 10, 20169 yr I know maybe you can use widgets but how would go about detecting the purple dot on minimap? private boolean playerIsInClanChat(String username){ username = username.replace('\u00A0', ' '); for(RS2Widget widget : S.getWidgets().getWidgets(589, 5)){ if(widget.getMessage().contains(username)) return true; } return false; } Edited April 10, 20169 yr by Explv
April 10, 20169 yr Author private boolean playerIsInClanChat(String username){ username = username.replace('\u00A0', ' '); for(RS2Widget widget : S.getWidgets().getWidgets(589, 5)){ if(widget.getMessage().contains(username)) return true; } return false; } Is there any fast way to do it without opening up clan chat tab?
Create an account or sign in to comment