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.

Need a lil bit of help Strings / Ints from line of text!

Featured Replies

iv accually just been looking at regex, iis there a method to only read numbers, then can I make that into and int for counting with?

basicly like this =

String text = "Hello, my name is bob, and I'm 37";

int age = 37;

Thanks for this :)

no problem :)
  • Author

umm, looking at the regex methods, I might not always no when the word I'm looking for will start, but if I no the word before it, and the word after it, can I grab all the text from between that? e.g.

brown hair, blue eyes, pink lipstick, purple glasses

 

say I just wonted to grab - pink, it might not always be in the same place, but it will always be between = eyes, lipstick

 btw i really appreciate all the help, I'm really wonting to learn java well, not just for runescape, tryin many different things :)

  • Author

ok iv get that working, thanks guys, o 1 last thing, iv got a built GUI in netbeans, but my main script is being built in eclipse,  is there anything I need to do to make them work together? iv added all the command in the gui and built the start button, just not 100% sure how to attach them, do I just copy the GUI.class from netbean into eclipse under the main script class? thanks agen guys, much appreciated with the regex help 2day :)

ok iv get that working, thanks guys, o 1 last thing, iv got a built GUI in netbeans, but my main script is being built in eclipse,  is there anything I need to do to make them work together? iv added all the command in the gui and built the start button, just not 100% sure how to attach them, do I just copy the GUI.class from netbean into eclipse under the main script class? thanks agen guys, much appreciated with the regex help 2day smile.png

 

eclipse has a WindowBuilder too, give it a go and see but ive never used Netbeans.

eclipse has a WindowBuilder too, give it a go and see but ive never used Netbeans.

I love the window builder

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.