Author Topic: Need help with making a script.  (Read 2875 times)

0 Members and 1 Guest are viewing this topic.

Offline TanaTopic starter

  • Jr. Member
  • **
  • Posts: 67
  • Activity:
    0%
  • Reputation Power: 1
  • Tana has no influence.
  • Respect: +6
  • Referrals: 1
    • View Profile
Need help with making a script.
« on: February 04, 2016, 05:49:16 AM »
0
Hello community! I'm trying to make a script to farm dark guardians ask not for the bones but for the tmaps! My questions are how do you make it check if your container has too many item? Like {if #items > 120 go sub drop off} else {gosub spawn} sorry still new to writing scripts

Offline lydaan

  • Jr. Member
  • **
  • Posts: 70
  • Activity:
    0%
  • Reputation Power: 3
  • lydaan has no influence.
  • Respect: +6
  • Referrals: 0
    • View Profile
Re: Need help with making a script.
« Reply #1 on: February 05, 2016, 03:36:18 PM »
0
finditem and #findcnt
http://wiki.easyuo.com/index.php/FindItem
http://wiki.easyuo.com/index.php?title=FindCnt

Code: [Select]
finditem * c_xxxxxx
if #findcnt > 120
   gosub dropp_off

Offline TanaTopic starter

  • Jr. Member
  • **
  • Posts: 67
  • Activity:
    0%
  • Reputation Power: 1
  • Tana has no influence.
  • Respect: +6
  • Referrals: 1
    • View Profile
Re: Need help with making a script.
« Reply #2 on: February 05, 2016, 10:27:27 PM »
0
thank you so much!

Tags: