Author Topic: A Script For Bag Of Sending....  (Read 5046 times)

0 Members and 1 Guest are viewing this topic.

Offline Hollywood_ShonoTopic starter

  • Full Member
  • ***
  • Posts: 113
  • Activity:
    0%
  • Reputation Power: 0
  • Hollywood_Shono has no influence.
  • Respect: +19
  • Referrals: 0
    • View Profile
A Script For Bag Of Sending....
« on: January 05, 2010, 04:05:17 PM »
0
Is there anyone that has a script for bag of sending or who would be willing to take the time if its not to difficult to create one. I would like a basic script that checks for Silver. Waits till you hit 5,000 silver then uses the bag of sending on it and if you get the attacked message it auto sends whatever silver you have left. Im more concerned with the 5,000 but if you can both wonderful I'd be willing to pay for this script to be made if needed.

Thank You,

Hollywood

Scrripty

  • Guest
Re: A Script For Bag Of Sending....
« Reply #1 on: January 05, 2010, 04:47:18 PM »
0
Is there anyone that has a script for bag of sending or who would be willing to take the time if its not to difficult to create one. I would like a basic script that checks for Silver. Waits till you hit 5,000 silver then uses the bag of sending on it and if you get the attacked message it auto sends whatever silver you have left. Im more concerned with the 5,000 but if you can both wonderful I'd be willing to pay for this script to be made if needed.

Thank You,

Hollywood

Get that karma up I'm sure someone will write ya somethin... :)

Offline NObama

  • Everything I need to know, I learned from Miffy's Item Finder.
  • Elite
  • *
  • *
  • Posts: 3454
  • Activity:
    0%
  • Reputation Power: 43
  • NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.
  • Respect: +161
  • Referrals: 2
    • View Profile
Re: A Script For Bag Of Sending....
« Reply #2 on: January 05, 2010, 06:00:52 PM »
0
As Twinkle McNugget says, you'll find all sorts of people willing to help if you get that Karma up.

I'll even get you started.  The keys to your question will be:

#finditem
#findstack
#findkind
#findid
event macro

and perhaps:
#weight
#journal


...plus the bag of sending subs that are already posted in any one of a dozen forms on these forums.  TM and Cerveza code up all sorts of exceptional snippets.

 :)

Scrripty

  • Guest
Re: A Script For Bag Of Sending....
« Reply #3 on: January 05, 2010, 07:10:00 PM »
0
Not to mention the bos subs that are all over EUO's site... :)

Offline DeadIssue2

  • Sr. Member
  • *
  • Posts: 287
  • Activity:
    0%
  • Reputation Power: 3
  • DeadIssue2 has no influence.
  • Gender: Male
  • Respect: +21
  • Referrals: 1
    • View Profile
Re: A Script For Bag Of Sending....
« Reply #4 on: January 05, 2010, 08:04:39 PM »
0
Not to mention the script your looking for has already been written.....

Offline 12TimesOver

  • Another Day, Another Vendetta
  • Global Moderator
  • *
  • *
  • Posts: 3694
  • Activity:
    0%
  • Reputation Power: 41
  • 12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.
  • Gender: Male
  • Respect: +321
  • Referrals: 2
    • View Profile
Re: A Script For Bag Of Sending....
« Reply #5 on: January 05, 2010, 08:22:21 PM »
0
Not to mention that I really enjoy a good BBQ, I mean seriously, how much more satisfying does it get then a well prepared, pulled pork sandwich with a sweet but spicy BBQ sauce lathered over the layers of tender meat topped with a chilled, pert cole slaw? Am I right? Anybody? Huh? Am I?

When they come for me I'll be sitting at my desk
     with a gun in my hand wearing a bulletproof vest
My, my, my how the time does fly
     when you know you're gonna die by the end of the night

Offline Hollywood_ShonoTopic starter

  • Full Member
  • ***
  • Posts: 113
  • Activity:
    0%
  • Reputation Power: 0
  • Hollywood_Shono has no influence.
  • Respect: +19
  • Referrals: 0
    • View Profile
Re: A Script For Bag Of Sending....
« Reply #6 on: January 06, 2010, 10:56:47 AM »
0
I like BBQ's  :o

Offline Hollywood_ShonoTopic starter

  • Full Member
  • ***
  • Posts: 113
  • Activity:
    0%
  • Reputation Power: 0
  • Hollywood_Shono has no influence.
  • Respect: +19
  • Referrals: 0
    • View Profile
Re: A Script For Bag Of Sending....
« Reply #7 on: January 06, 2010, 11:07:13 AM »
0
Not to mention the script your looking for has already been written.....

Thanks for writing the script DeadIssue, now will it send silver if it see's another person come down or your being attacked?

Also instead of Max weight what would i change to send silver when it reach's 5,000

Offline DeadIssue2

  • Sr. Member
  • *
  • Posts: 287
  • Activity:
    0%
  • Reputation Power: 3
  • DeadIssue2 has no influence.
  • Gender: Male
  • Respect: +21
  • Referrals: 1
    • View Profile
Re: A Script For Bag Of Sending....
« Reply #8 on: January 06, 2010, 07:41:00 PM »
0
I am taking a look at the one i wrote some time ago. I will try and rewrite it to fit your needs. When I wrote it, I made it so that if either you took damage or if there were no more monsters around to fight (ei. someone lured them away and they are  waiting for a GM to ban you) that it would find silver , send it , and log. It would even log out at server down to save your pets. But a lot of it has changed , so I am updating it. I will try and give it the 5k silver option and not by weight. Those commands are kind of new to me but I am getting some help understanding how that works. Do not expect this quickly, as I will only work on this when I have spare time.

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +393
  • Referrals: 1
    • View Profile
Re: A Script For Bag Of Sending....
« Reply #9 on: January 06, 2010, 08:26:19 PM »
0
untested on the fly code

Code: [Select]
gosub Countsilver
IF #result > 5000
   display ok yes i got 5k+ silver sweet cha ching

Sub CountSilver
  set !SilverCount 0
  finditem <what is the SilverType put it here> C_ , #backpackid
  If #findcnt > 0
   {
   For #findindex 1 #findcnt
      {
       set !SilverCount !SilverCount + #findstack
      }
    }
Return !SilverCount
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline Hollywood_ShonoTopic starter

  • Full Member
  • ***
  • Posts: 113
  • Activity:
    0%
  • Reputation Power: 0
  • Hollywood_Shono has no influence.
  • Respect: +19
  • Referrals: 0
    • View Profile
Re: A Script For Bag Of Sending....
« Reply #10 on: January 07, 2010, 03:21:45 AM »
0
Nice endless i'll add this in and test it out today

Thanks for writing the 5000 +1 karma from me!
« Last Edit: January 07, 2010, 03:23:50 AM by Hollywood_Shono »

Offline DeadIssue2

  • Sr. Member
  • *
  • Posts: 287
  • Activity:
    0%
  • Reputation Power: 3
  • DeadIssue2 has no influence.
  • Gender: Male
  • Respect: +21
  • Referrals: 1
    • View Profile
Re: A Script For Bag Of Sending....
« Reply #11 on: January 09, 2010, 11:20:54 AM »
0
EN

Your silver counting snippet is, I believe, one of those core scripting principles that can be utilized in so very many different ways. I want to make absolutely sure I understand what your doing line by line and how it interacts. Would you mind taking this opportunity to explain these 10 lines in detail esp. what it is doing after the line:

finditem CPF C_ , #backpackid.

I ask because I might not be the only person who could learn something from this.

Thank you.

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +393
  • Referrals: 1
    • View Profile
Re: A Script For Bag Of Sending....
« Reply #12 on: January 09, 2010, 11:50:21 AM »
0
« Last Edit: January 09, 2010, 11:53:03 AM by Endless Night »
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline DeadIssue2

  • Sr. Member
  • *
  • Posts: 287
  • Activity:
    0%
  • Reputation Power: 3
  • DeadIssue2 has no influence.
  • Gender: Male
  • Respect: +21
  • Referrals: 1
    • View Profile
Re: A Script For Bag Of Sending....
« Reply #13 on: January 09, 2010, 12:01:27 PM »
0
Thank you so much!!!!!

I thought I understood it but I have now been corrected and I will be able to use this now.

Thanks

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +393
  • Referrals: 1
    • View Profile
Re: A Script For Bag Of Sending....
« Reply #14 on: January 09, 2010, 03:17:14 PM »
0
Glad i could help .. once you get your head around #findindex .. it all becomes so easy :)
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Tags: