ScriptUO

Official ScriptUO EasyUO Scripts => Script Library => Misc. Scripts => Topic started by: Paulonius on July 18, 2010, 07:59:03 AM

Title: Rune Book Rune Insertion
Post by: Paulonius on July 18, 2010, 07:59:03 AM
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
Title: Re: Rune Book Rune Insertion
Post by: Endless Night on November 02, 2011, 07:05:21 PM

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.