🧙‍♂️ Brought to you by Peptides.gg — Use code UO20 for 20% off — GLP-1's, 90+ Peptides and more!
From the Codex of Ultimate Wisdom

Object Handle Multiple Text Filter

A folio of the realm

Creator: ForeverFun

Purpose: Filter object handles with multiple text filters.


Default Behavior

The EC will only allow you to set a single text filter (word) for object handles. To set a filter, left click on the Object Handle Filter icon and select "Set Filter" from the context menu. Once you set a filter, you can left click on the icon again and choose "Add Filter" from the context menu. "Add Filter" does not add a filter but instead overwrites the existing filter.

If you input multiple filters (i.e. two words) at the same time, the client will not display any object handles. If you input multiple filters (i.e. two words) at the same time separated by a bar "|", the client will ignore the filter before the bar and filter by the word after the bar.


Modified Behavior

This simple single word mod will allow multiple filters (words) to be input at the same time, if each filter (word) is separated by a bar "|".


To create the mod, open the file ObjectHandle.Lua to function ObjectHandleWindow.CreateObjectHandles() and insert the word "break" on a new line in the specified location.

Default code

if (wstring.find(wstring.lower(name), wstring.lower(cf))) then
 found = true
else

Modified code

if (wstring.find(wstring.lower(name), wstring.lower(cf))) then
 found = true
 break    -- added: allow usage of |, e.g. "virtuebane|lich|human|mage's"
else


Remember to save the file and load your custom UI from the login screen.

See Also

← Return to the Codex
Folio inscribed by the Scribe  ·  transcode  ·  2026-05-14
Folios in the Codex incorporate material adapted from community-maintained Ultima Online wikis, used under the Creative Commons Attribution-ShareAlike 3.0 License. Synthesised, restructured, and rebranded by the Scribe.