ScriptUO

Official ScriptUO EasyUO Scripts => Script Library => Misc. Scripts => Topic started by: Mythix on May 28, 2012, 01:16:08 PM

Title: Mythix's HotKeyBar (Almost) for Freeshards.
Post by: Mythix on May 28, 2012, 01:16:08 PM
Code: [Select]
;==========================================================================================================
; Script Name:  HotKeyBar (Almost) for Freeshards.
; Author: Mythix
; Version: 1.0
; Shard OSI / FS: FS only
; Release Date: 5/28/2012
; Purpose: Utilize a menu to access most frequently used skills for easy access.
; Globals: none
; Special Thanks: Thanks to Talon Rhein whose script "Magery Casting Menu" was the inspiration for this.
;===========================================================================================================

I've created a short script that creates a menu for the most commonly used skills/spells for use mainly on freeshards that have no skill caps.
Appreciate any feedback you can give me!
(http://i.imgur.com/BrqkM.png)
Title: Re: Mythix's HotKeyBar (Almost) for Freeshards.
Post by: 12TimesOver on May 29, 2012, 04:54:06 AM
Good idea Mythix! I'm a fan of "quick bar" utilities, as can be noted by my SuperStuff and TMapper Helper scripts. I hope you get some folks testing!

X
Title: Re: Mythix's HotKeyBar (Almost) for Freeshards.
Post by: Mythix on May 29, 2012, 05:50:39 AM
Thanks 12x!
It's a good system for people like me who can never remember their razor macros.  hehe.
Hope to get some feedback as this is my very first script.
Title: Re: Mythix's HotKeyBar (Almost) for Freeshards.
Post by: 12TimesOver on May 29, 2012, 06:10:40 AM
Quick item...

In your MainLoop:

Code: [Select]
     if c in #menubutton
     {
        gosub #menubutton
     }
     else
     {
        gosub castSpell #menubutton
     }
     set #menubutton n/a
  }
Consecrate, Sacred Journey, Confidence, etc all contain the letter "C" thus would trigger the "if c in #menubutton" criteria and fail since the script would look to gosub to the subs of the same names which don't actually exist.

X
Title: Re: Mythix's HotKeyBar (Almost) for Freeshards.
Post by: Mythix on May 31, 2012, 04:48:35 PM
Thanks for looking at that!
However, those subs have a #menubutton of their event macro 15 XX number so they won't get pulled into that loop.
Code: [Select]
menu Button CLore 4 76 89 29 Lore
  menu Button CTaming 4 112 89 29 Tame
  menu Button 205 100 76 89 29 Divine Fury
  menu Button 210 100 112 89 29 Sacred Journey ;<---#menubutton is actually "210"
  menu Button 146 196 76 89 29 Confidence ;<--- #menubutton is "146"
  menu Button 147 196 112 89 29 Evasion
  menu Button 203 292 76 89 29 Consecrate; <--- #menubutton is "203"
  menu Button 149 292 112 89 29 Lightning Strike

I thank you very kindly for taking a look though. :)
Moar feedback pl0x!
Title: Re: Mythix's HotKeyBar (Almost) for Freeshards.
Post by: Endless Night on October 08, 2013, 08:55:19 AM
Congratulations your Script has been moved to Script library
(If you feel the script is in the wrong section please send me a pm.)

Thank you for your submission.


Great script, very useful helper bar.  Worked for me on OSI.