1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Greetings Guest!!

    In order to combat SPAM on the forums, all users are required to have a minimum of 2 posts before they can submit links in any post or thread.

    Dismiss Notice
  3. The Broadsword team is seeking alternative castle designs! Learn more and discuss here!
    Dismiss Notice
  4. Publish 97 is currently on TC1! They are currently focusing on the pet customization aspect of the pet revamp. Head to TC1 and send in your feedback or discuss here!
    Dismiss Notice
  5. Broadsword is hosting a 20th Anniversary Party for UO this September! Learn more here. Will you be there, Guest?
    Dismiss Notice
  6. A new State of Stratics is up. Check it out here!
    Dismiss Notice

[Tech Help] Script/Macro for adding someone to the Ignore List?

Discussion in 'UO Enhanced Client Discussion' started by hawkeye_pike, Dec 4, 2010.

  1. hawkeye_pike

    hawkeye_pike Babbling Loonie
    Stratics Veteran

    Joined:
    May 15, 2008
    Messages:
    2,466
    Likes Received:
    11
    Is there a way to make a macro that brings up a targeting cursor so I can add someone to my ignore list, without the hassle of going through the options menu?
     
  2. Pinco

    Pinco UOEC Modder
    Stratics Veteran Stratics Legend

    Joined:
    Jul 25, 2005
    Messages:
    5,694
    Likes Received:
    869
    It will be in the next version of my UI :)
     
  3. hawkeye_pike

    hawkeye_pike Babbling Loonie
    Stratics Veteran

    Joined:
    May 15, 2008
    Messages:
    2,466
    Likes Received:
    11
    Nice! However, I don't want to use the whole UI, I'd just need the script so I can put it into a macro.
     
  4. Decors

    Decors UOEC Modder
    Stratics Veteran

    Joined:
    Jul 19, 2009
    Messages:
    93
    Likes Received:
    1
    Try this but it will pop settings window a split second.
    You need 3 command actions.

    Usage: target player. Then hit the macro.

    Code:
    script local tid=WindowData.CurrentTarget.TargetId AddPlayerToIgnoreList(tid,towstring(WindowData.MobileName[tid].MobName))
    script SettingsWindow.OnOkayButton()
    script for i,v in pairs(WindowData.IgnoreNameList) do Debug.PrintToChat(L" "..i..L" "..towstring(v)) end
    
     
  5. hawkeye_pike

    hawkeye_pike Babbling Loonie
    Stratics Veteran

    Joined:
    May 15, 2008
    Messages:
    2,466
    Likes Received:
    11
    Ah thanks, this works quite well!