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.

CLI and getParameters() help please

Featured Replies

I took a break from botting so i have no clue if there are already threads with this info. If there are please link below.

What i want to know is:

How do i grab parameters entered in the CLI with my script? I took a look at the API and it looks rather complicated. I want to store login information in the parameters so that the script can log itself in and out without me having to hardcode the account info into the script (which is what i am currently doing). Is it possible to use parameters this way? Is there another way I can grab account log in information without hardcoding it?

-script Something:email,password

String email = getParameters().split(",")[0];

String password = getParameters().split(",")[1];

  • Author
12 minutes ago, Degrecu said:

Not sure if this will help

 

nah i already got all that but thanks. this is more advanced than the basic user using CLI to open a client. I'm trying to make my scripts and the CLI work together better.

Just now, Token said:

-script Something:email,password

String email = getParameters().split(",")[0];

String password = getParameters().split(",")[1];

thanks! i didn't think it would work like that. i feel stupid now for not trying that. cheers!

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.