Skip to content

Variables

Every built-in #variable. Most are read-only and describe the client (your character, the last target, the last FindItem search…); a few can be set to change what the script or the client does. Type in the box to filter, pick a category, or show only read/write variables. Press Ctrl K anywhere to search the whole site.

NameDescriptionCategory
#ARYour character’s physical resistance (armour rating before Age of Shadows).Status
#BackpackIDID of your character’s backpack.Character
#BuffBarOpennew#true when the client’s buff bar window is open, #false when it is closed.Buffs
#BuffClilocnewCliloc number of the selected buff’s title.Buffs
#BuffCntnewNumber of buffs on the buff bar, counted live.Buffs
#BuffDescnewSecond line of the selected buff’s tooltip.Buffs
#BuffIDnewIcon ID of the selected buff, a plain number (Bless is 30018).Buffs
#BuffIndexnewSelects which buff the #Buff… variables describe; 1 is the first.Buffs
#BuffNamenewTitle of the selected buff, as its tooltip shows it.Buffs
#BuffTimenewSeconds left on the selected buff; -1 when it has no timer.Buffs
#CharDirDirection your character is facing, 0 (north) to 7.Character
#CharGhostyes when your character is dead (a ghost), no otherwise.Character
#CharIDID of your character.Character
#CharNameYour character’s name.Status
#CharPosXYour character’s X position in the world (west–east).Character
#CharPosYYour character’s Y position in the world (north–south).Character
#CharPosZYour character’s height (Z coordinate).Character
#CharStatusLetters for your character’s states: frozen, female, flying or poisoned, yellow health bar, war mode, hidden.Character
#CharTypeBody type of your character, as a Sys26 type.Character
#CliCntNumber of supported UO clients running.Client
#CliLangLanguage code of the client, such as ENU.Client
#CliLeftX position of the game area inside the client window; set it to move the game area.Client
#CliLogged1 when a character is logged in, 0 at the login screens.Client
#CliNrWhich of the running clients the script drives, counting from 1.Client
#CliTitleTitle of the client window; set it to rename the window.Client
#CliTopY position of the game area inside the client window; set it to move the game area.Client
#CliVerVersion of the attached client, such as 7.0.117.1.Client
#CliXResWidth of the game area in pixels; set it to resize the game area.Client
#CliYResHeight of the game area in pixels; set it to resize the game area.Client
#ContHPHealth in percent of the creature whose health bar is the top gump.Container
#ContIDID of the item a container gump on top belongs to.Container
#ContKindKind of the gump on top, as a code; tells crafting menus, runebooks and more apart.Container
#ContNameName of the gump on top, such as container_gump or paperdoll_gump.Container
#ContPosXX position of the gump on top; set it to move the gump.Container
#ContPosYY position of the gump on top; set it to move the gump.Container
#ContSizeWidth and height of the gump on top, as width_height.Container
#ContSizeXWidth of the top gump in pixels.Container
#ContSizeYHeight of the top gump in pixels.Container
#ContTypeType of the item a container gump on top belongs to.Container
#CRYour character’s cold resistance.Status
#CurPathFolder of EasyUOReforged.exe, ending with a backslash.Miscellaneous
#CursKindFacet you are on: 0 Felucca, 1 Trammel, 2 Ilshenar, 3 Malas, 4 Tokuno, 5 Ter Mur.Extended
#CursorXMouse cursor X position relative to the game area.Miscellaneous
#CursorYMouse cursor Y position relative to the game area.Miscellaneous
#DateLocal date of the computer as yymmdd.Miscellaneous
#DexYour character’s dexterity.Status
#DispResButton the user pressed in the last display box: Ok, Yes, No or Cancel.Miscellaneous
#DOTA full stop, which could not be typed alone because . joins words.Constants
#EnemyHitsHealth in percent of the enemy in #EnemyID.Combat
#EnemyIDID of the enemy whose health bar the client shows, or N/A.Combat
#ERYour character’s energy resistance.Status
#EUOVerAlways 1_50_00, the EasyUO version Reforged is ported from; see #ReforgedVer.Miscellaneous
#FalseThe value false: 0.Constants
#FindBagIDID of the container holding the object FindItem selected.FindItem
#FindCntHow many objects the last FindItem found.FindItem
#FindColColour (hue) of the object FindItem selected.FindItem
#FindDistDistance in tiles to the object FindItem selected, for objects on the ground.FindItem
#FindIDID of the object FindItem selected, or X when nothing was found.FindItem
#FindIndexSelects which FindItem match the #Find… variables describe, without searching again.FindItem
#FindKindWhere the object FindItem selected is: 0 in a container, 1 on the ground, -1 not found.FindItem
#FindLayernewLayer a character wears the object FindItem selected in, or N/A when nobody wears it.FindItem
#FindModOffset added to #FindX and #FindY for objects in containers, written x_y.FindItem
#FindRepNotoriety of the character FindItem selected: 1 innocent to 7 invulnerable.FindItem
#FindStackNumber of items in the stack FindItem selected; 0 for characters.FindItem
#FindTypeType of the object FindItem selected.FindItem
#FindXX position of the object FindItem selected: world position on the ground, screen position in a container.FindItem
#FindYY position of the object FindItem selected: world position on the ground, screen position in a container.FindItem
#FindZHeight of the object FindItem selected.FindItem
#FollowersHow many follower slots your pets and summons use.Status
#FRYour character’s fire resistance.Status
#GoldGold your character carries, as the status window shows it.Status
#HitsYour character’s current hit points.Status
#IntYour character’s intelligence.Status
#JColorColour of the journal line read by the last scanjournal.Extended
#JIndexRunning number of the newest journal line; follow it to read every new line once.Extended
#JournalJournal line read by the last scanjournal.Extended
#LHandIDID of the item for the left hand; set it, then event Macro 24 1 arms it.Combat
#LLiftedIDID of the object last picked up (dragged).Last action
#LLiftedKind1 while something hangs on the cursor, 0 otherwise.Last action
#LLiftedTypeType of the object last picked up (dragged).Last action
#LObjectIDID of the last object used; set it, then event Macro 17 uses that object.Last action
#LObjectTypeType of the last object used.Last action
#LPCLines run per 50 ms cycle; 10 by default.Result
#LShardNumber of the last shard chosen; set it before logging in to preselect a shard.Miscellaneous
#LSkillNumber of the last skill used; set it, then event Macro 14 uses that skill.Last action
#LSpellNumber of the last spell cast; set it, then event Macro 16 casts that spell.Last action
#LTargetIDID of the last object targeted; set it, then event Macro 22 targets that object.Last action
#LTargetKindWhat the last target was: 1 object, 2 ground, 3 resource such as a tree or water.Last action
#LTargetTileMap graphic of the tile last targeted; used for resources such as trees.Last action
#LTargetXWorld X position of the last target; used when targeting the ground or a resource.Last action
#LTargetYWorld Y position of the last target; used when targeting the ground or a resource.Last action
#LTargetZWorld height of the last target; used when targeting the ground or a resource.Last action
#LuckYour character’s luck.Status
#ManaYour character’s current mana.Status
#MaxDmgMost damage of the weapon in your hands.Status
#MaxFolHow many follower slots your character has.Status
#MaxHitsThe most hit points your character can have.Status
#MaxManaThe most mana your character can have.Status
#MaxStamThe most stamina your character can have.Status
#MaxStatsYour character’s stat cap: the most strength, dexterity and intelligence together.Status
#MaxWeightMost weight your character can carry, calculated from strength: 3.5 × Str + 40.Status
#MenuButtonName of the last menu button clicked, in capitals; CLOSED when the menu window was closed.Result
#MenuResValue read by the last menu Get or menu GetNum.Result
#MinDmgLeast damage of the weapon in your hands.Status
#MountIDnewID of the mount item your character rides, or N/A while it is on foot.Character
#MountTypenewType of the mount item your character rides, or N/A while it is on foot.Character
#NextCPosXX position where the next gump will open.Container
#NextCPosYY position where the next gump will open.Container
#NSNameName of the current namespace; std when the script starts.Namespace
#NSTypeWhether the current namespace is local or global.Namespace
#OptsActive options: always SYS, EXEC and SEND, plus DMC when Don’t Move Cursor is on.Result
#OSVerWindows version, as platform_major_minor.Miscellaneous
#PathCntnewNumber of steps of the route the last path find planned.Pathfinding
#PathDirnewDirection of a step of the planned route, 0 (north) to 7, or 8 for a link.Pathfinding
#PathStatenewHow the last path command went: ok, how a walk ended, a reason no route was found, or the error.Pathfinding
#PathXnewX position of a step of the planned route: the last one after path find, step n after path get.Pathfinding
#PathYnewY position of a step of the planned route: the last one after path find, step n after path get.Pathfinding
#PathZnewHeight of a step of the planned route, or where path can found a place to stand.Pathfinding
#PixColColour of the pixel last read by savepix, a $BBGGRR number.Miscellaneous
#PRYour character’s poison resistance.Status
#PropertyProperty tooltip read by the last event Property; lines end with $.Result
#RandomA new random number from 0 to 999 each time it is read.Miscellaneous
#ReforgedVernewBuild version of EasyUO Reforged, such as 26.10.22.3c144de.Miscellaneous
#ResultValue given to the last return; N/A when it had none.Result
#RHandIDID of the item for the right hand; set it, then event Macro 24 2 arms it.Combat
#SCntA seconds counter; set it to start counting from that value.Miscellaneous
#SCnt2A tenths-of-a-second counter; set it to start counting from that value.Miscellaneous
#SendHeaderExtra HTTP header lines for send; end each line with $.Result
#SexYour character’s sex: 0 male, 1 female.Status
#ShardName of the shard the client is logged in to.Miscellaneous
#ShopCntNumber of entries in the shop gump.Shop
#ShopCurPosPosition of the shop entry shown at the top, counting from 1.Shop
#ShopItemIDID of the shop entry’s item, for setshopitem.Shop
#ShopItemMaxHow many of the shop entry’s item the vendor has.Shop
#ShopItemNameName of the shop entry shown at the top of the shop gump.Shop
#ShopItemPricePrice of the shop entry shown at the top of the shop gump.Shop
#ShopItemTypeType of the shop entry’s item.Shop
#SkillValue of the skill chosen with chooseskill, in tenths (700 = 70.0).Extended
#SkillCapCap of the skill chosen with chooseskill, in tenths.Extended
#SkillLockLock of the skill chosen with chooseskill: up, down or locked.Extended
#SMCA semicolon, which could not be typed directly because ; starts a comment.Constants
#SPCA space; glue it between words with commas.Constants
#SqlChangesnewRows changed by the last sql exec or query, or variables handled by save / load / delete.SQL
#SqlCntnewNumber of rows the last sql query returned.SQL
#SqlLastIDnewRowid of the last row inserted on this connection.SQL
#SqlResnewOK after a successful sql command, otherwise the error text.SQL
#StaminaYour character’s current stamina.Status
#StrYour character’s strength.Status
#StrResResult of the last str command; also set by getuotitle.Result
#SysMsgThe last system message the client showed.Extended
#SysMsgColColour that event SysMessage writes in.Extended
#SysTimeMilliseconds since 1 January 1980 UTC; for timing.Miscellaneous
#TargCurs1 while a target cursor is showing; set it to 1 to let the user pick a target.Extended
#TileCntNumber of tiles at a map position, from tile cnt.Tile
#TileFlagsProperties of the tile read by tile get, as names joined by _.Tile
#TileNameName of the tile read by tile get, such as tree or water.Tile
#TileTypeGraphic number of the tile read by tile get.Tile
#TileZHeight of the tile read by tile get.Tile
#TimeLocal time of the computer as hhmmss, 24-hour clock.Miscellaneous
#TPYour character’s tithing points.Status
#TrueThe value true: -1.Constants
#WeightWeight your character carries, in stones.Status