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.

[Help] NPC Trade script

Featured Replies

My friends found a sick way to make money buying stuff from an npc shop, now it's been some time since i last coded something and i'm looking someone to tell me am i missing some events here.

 

> If inventory is !full, go to npc and trade.

> Buys till the stock is empty or inventory is full and banks

> If stock is empty == hop

 

Thanks!

  • Author

If out of money -> quit 

Totally forgot, thanks!

Totally forgot, thanks!

There's obviously more logic required that might be dependent on wherever you're buying from (if it's a dangerous area for example)

  • Author

There's obviously more logic required that might be dependent on wherever you're buying from (if it's a dangerous area for example)

Yeah of course ;), I think i'll manage now when i have all the events done. :)

  • 3 weeks later...
On 2017-01-11 at 8:59 AM, Rebel said:

My friends found a sick way to make money buying stuff from an npc shop, now it's been some time since i last coded something and i'm looking someone to tell me am i missing some events here.

 

> If inventory is !full, go to npc and trade.

> Buys till the stock is empty or inventory is full and banks

> If stock is empty == hop

 

Thanks!

Don't forget to insert a condition with > money in your buying event or it will get stuck at not enough coin

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.