Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to cast a spell?

Featured Replies

Hello, I've been trying for an hour to cast a spell but I get this error, someone knows I'm doing wrong? I'm looking at the documentation of the API and I do not know what can be wrong

Captura.PNG

Pretty sure you have to do

magic.castSpell(MagicSpell.SPELL_NAME);

Tried to embed the code, but the code thing is broke af and wouldn't load.

Edited by Medusa

  • Author
52 minutes ago, Medusa said:

Pretty sure you have to do

magic.castSpell(MagicSpell.SPELL_NAME);

Tried to embed the code, but the code thing is broke af and wouldn't load.

 

44 minutes ago, Gunman said:

@Carrolito @Medusa
You need to define which spell book as well so it would be like this.
 


magic.castSpell(Spells.LunarSpells.SUPERGLASS_MAKE);

Many thanks to both, now I face another problem, my script is opening the bank in a loop and I do not understand why xd

  • Author
5 minutes ago, Gunman said:

@Carrolito Need to see more of the script. It's probably a logic error. If you don't want the source public then pm me in the osbot discord.

I'll text you now.

3 hours ago, Gunman said:

@Carrolito @Medusa
You need to define which spell book as well so it would be like this.
 


magic.castSpell(Spells.LunarSpells.SUPERGLASS_MAKE);

Yea sorry. Forgot that. Just wrote what I thought it was :) 

Edited by Medusa

right this

8 hours ago, Gunman said:

@Carrolito @Medusa
You need to define which spell book as well so it would be like this.
 


magic.castSpell(Spells.LunarSpells.SUPERGLASS_MAKE);

 

  • 9 months later...

Interesting thread, I tried as well to cast a magic spell, but in reality, there was a lot of work to be done. Some stuff to be used, to buy for having her by your side. If you don't believe guys in these things I assure you that life can be more beautiful when you have what you want. I wanted her and she is mine now. She is the most beautiful girl in the world, and i'm gonna give her everything. My piece of advice is: don't give up, all it's possible. Check this information and you will see all.

 

https://spellguru.co/powerful-love-spells-and-how-to-cast-them/

Edited by ZoeSkinner

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.