Author Topic: Rune Book Rune Insertion  (Read 4442 times)

0 Members and 1 Guest are viewing this topic.

Offline PauloniusTopic starter

  • Elite
  • *
  • *
  • Posts: 2040
  • Activity:
    0%
  • Reputation Power: 29
  • Paulonius is on the verge of being accepted.Paulonius is on the verge of being accepted.Paulonius is on the verge of being accepted.Paulonius is on the verge of being accepted.Paulonius is on the verge of being accepted.
  • Respect: +304
  • Referrals: 1
    • View Profile
Rune Book Rune Insertion
« on: July 18, 2010, 07:59:03 AM »
0
I use a lot of scripts that incorporate travel options dependant on rune position in a rune book.  I recently moved houses and realized that I needed to reinsert a new home rune into the first position in 30ish rune books.  I was not excited to do that by hand, so I wrote the attached script to do it.

The name is more impressive than the current script, but this is a rough version that I can expand and make considerably more flexible in future. For now, it appears to dependably put a rune into a book and then cycle through the runes in the book to put the new rune in first position, maintaining the other runes in their relative positions.  If you need to use it, please let me know how it works for you.

This is a first draft without many failsafe's, so please follow the instructions.

-P

There are 1 attachment(s) in this post. You must register and post an acceptable introduction to download
Rune Book Rune Manager.txt
This coin declares Caesar is "Dictator for Life." He did serve as Dictator for the remainder of his life, but his life would end only a few weeks after this issue. For Caesar to put his image on coins and essentially declare himself king was too much for Brutus and his republican allies.

"If everything seems under control, you're not going fast enough'
-Mario Andretti

"If everyone is thinking alike, someone isn't thinking."
- General George Patton Jr

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: +786
  • Referrals: 1
    • View Profile
Re: Rune Book Rune Insertion
« Reply #1 on: November 02, 2011, 07:05:21 PM »
0

Script move to script library (if you dont think the section is appropriate please pm me)
Thank you for your submission


Comments/improvements/suggestions
(1) Would be nice if the runebook  and rune were selectable vers iding them at top of script
(2) Would be nice also if the insert position was menu selectable
(3) Using a single finditem and a for #findindex 1 #findcnt is preferable and faster code to finditem/ignore item combinations

None of above are must do items only additional niceties. I know i will be using this script quiet a bit as ive been meaning to clean up some of my books for a while now.


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: