B0tting0wnzzz Posted July 23, 2020 Share Posted July 23, 2020 I script for fun when I have time. I was thinking about scripting a magic bot for fun. I'm trying to get my bot to open the magic tab and cast a spell, and I was looking around and saw: getMagic() CastSpell () Am I in the right direction? I couldn't figure out how to make it select a spell at all. Any thoughts are appreciated. Thanks Quote Link to comment Share on other sites More sharing options...
Czar Posted July 23, 2020 Share Posted July 23, 2020 if (!getMagic().isSpellSelected()) { getMagic().castSpell(NormalSpells.HIGH_LEVEL_ALCHEMY); } else { getInventory().interact("", "Rune scimitar"); } Check if spells are selected first, then proceed to the next line of code ^^ 1 Quote Link to comment Share on other sites More sharing options...