• Hail Guest!
    We're looking for Community Content Contribuitors to Stratics. If you would like to write articles, fan fiction, do guild or shard event recaps, it's simple. Find out how in this thread: Community Contributions
  • Greetings Guest, Having Login Issues? Check this thread!
  • Hail Guest!,
    Please take a moment to read this post reminding you all of the importance of Account Security.
  • Hail Guest!
    Please read the new announcement concerning the upcoming addition to Stratics. You can find the announcement Here!

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

hawkeye_pike

Babbling Loonie
Stratics Veteran
Stratics Legend
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?
 

hawkeye_pike

Babbling Loonie
Stratics Veteran
Stratics Legend
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.
 

Decors

UOEC Modder
Stratics Veteran
Stratics Legend
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
 
Top