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.

Attack a player in a minigame

Featured Replies

I want to make a castle wars script that can attack any nearby players from the opposite team. Is this supported? I can only find the "attack nearest player" in the wilderness menu but that doesn't work for me in the castlewars game. 

Does "interact with player" / "Attack" work for this? If so what would I put as name/ID? 

Has anyone made an LMS script where the same principle applies?

LMS is not possible.

 

Castle wars however. Should be.

Providing we have a method to attack another player outside the wilderness. For the "player name" just put *

It should support wildcard. Check the API :)

Not sure if this will work but try using the "Interact with Player" method then just type "*" in the name and "Attack" in the action.

  • Author

"*" works, however it will try to attack anyone including members of my team. 

Any idea how to make it only attack members of the opposite team? I've managed to make a boolean to identify whether I have a sara or zamorak cape based on the cape ID numbers, however I can't find out how to make it only attack a player with a certain team cape. Thanks for helping

On 10/28/2023 at 5:00 AM, bogo said:

"*" works, however it will try to attack anyone including members of my team. 

Any idea how to make it only attack members of the opposite team? I've managed to make a boolean to identify whether I have a sara or zamorak cape based on the cape ID numbers, however I can't find out how to make it only attack a player with a certain team cape. Thanks for helping

I don't know jack about scripting, just a lurking man with a bit of logical knowledge.

 

Seems like you need the bolean to check for the cape first. Does player have Zammy cape? If No, search again, if Yes, Go-to Attack player action

  • Author

I've set up a boolean to determine which team i'm in based on my cape. The script then recognises if there is a player in the area with the opposite team cape -> if yes, Attack nearest player.

Only problem is, if there are multiple players in the area and the closest player is from my own team then it will try to attack my own team.

Any suggestions? 

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.