OSnap Posted December 13, 2021 Share Posted December 13, 2021 Toying around in script factory for an LMS bot. I've figured out how to switch prayers using config, but how would I do that conditionally based on the attack style of the player attacking me. And vice versa based on there pray style? thanks Quote Link to comment Share on other sites More sharing options...
Dogcube Posted December 14, 2021 Share Posted December 14, 2021 why r u switching prayers using the config? can't you just set(PrayerButton prayer, boolean activate) use that to like activate your prayer? second you can't really read it to my knowledge(that would be effective for lms) but you can do like if(inmage) {pray mage} since you can just hard code what lms gear there is since it never really has anything new. and for checking another prayer I am pretty sure you can do I think getPlayers().getPrayer(); altho not 100% I would test that out. I guess Quote Link to comment Share on other sites More sharing options...
OSnap Posted December 14, 2021 Author Share Posted December 14, 2021 11 hours ago, Malcolm said: He's talking about script factory which means he doesn't know Java. You are correct Quote Link to comment Share on other sites More sharing options...
Dogcube Posted December 14, 2021 Share Posted December 14, 2021 13 hours ago, Malcolm said: He's talking about script factory which means he doesn't know Java. I am stupid lmao Quote Link to comment Share on other sites More sharing options...