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.

General CLI Questions

Featured Replies

Preface Never used CLI before, just about to work on it

So I know I get the commands from the CLI current table, but how do I get script parameters?  For example, what format?  Is there a way I can run the script in client and get the parameters from there?

Also, is there a way to automatically close down a bot from the command line too?  Similarly, is there a way to set preferences in the client (such as breaks for example) through CLI?

What does the data tag actually spit out?

Perhaps I could 'push in' a question from my own:

If I want to run a local script with CLI, do I have to implement a line of code inside the script? What the line should say?

 

Thank you <3

14 minutes ago, Magerange said:

Perhaps I could 'push in' a question from my own:

If I want to run a local script with CLI, do I have to implement a line of code inside the script? What the line should say?

 

Thank you <3

Only if you want to get the script parameters that the user has set.

You can get the script parameters using getParameters()

24 minutes ago, Smuds said:

Preface Never used CLI before, just about to work on it

So I know I get the commands from the CLI current table, but how do I get script parameters?  For example, what format?  Is there a way I can run the script in client and get the parameters from there?

Also, is there a way to automatically close down a bot from the command line too?  Similarly, is there a way to set preferences in the client (such as breaks for example) through CLI?

What does the data tag actually spit out?

The script parameter format will be set by the script writer. It will likely be on the script thread, if not you will have to ask them. It may be the case the script has no parameters at all, in which case you can just set the script parameters to "none".

You cannot set breaks using CLI.

Not sure exactly sure what you mean by automatically close down a bot from the command line, do you mean when the script exits, or after x amount of time?

 

Edited by Explv

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.