Macro

From OpenEUO
Jump to: navigation, search

Calling Pattern

Call

local m = sl.macro

Args

n/a

Results

m is a table with all macro methods

Example Usage

local m = sl.macro

m.PrimaryAbility()
m.SelectNearestHostile()
m.AttackSelected()
m.CastHarm()
wait(500)
m.LastTarget()
wait(500)
m.BandageSelf()

Description

The macro table provides mnemonic access to UO.Macro calls. Instead of specifying macro numbers, a method name is invoked. Methods which take an argument: Delay(number), SetUpdateRange(number), ModifyUpdateRange(number), Walk(number), Say(text), Emote(text),Whisper(text), and Yell(text). All others are parameter free. Thanks to WarLocke for building table. Methods correspond 1:1 with all the UO.Macro calls.

Note: To cut down on memorization, in version 0.06 there will be enhanced matching such that if you specify some unique portion of one of the method names (case of said name being disregarded), the closest matching macro will be executed, e.g. m.maNad() will call m.CastManaDrain().

Macro Table Methods

 Say
 Emote
 Whisper
 Yell
 Walk
 WalkNorthWest
 WalkNorth
 WalkNorthEast
 WalkEast
 WalkSouthEast
 WalkSouth
 WalkSouthWest
 WalkWest
 ToggleWarPeace
 Paste
 OpenConfiguration
 OpenPaperdoll
 OpenStatus
 OpenJournal
 OpenSkills
 OpenSpellbook
 OpenChat
 OpenBackpack
 OpenOverview
 OpenMail
 OpenPartyManifest
 OpenPartyChat
 OpenNecroSpellbook
 OpenPaladinSpellbook
 OpenCombatBook
 OpenBushidoSpellbook
 OpenNinjitsuSpellbook
 OpenGuild
 OpenSpellweavingSpellbook
 OpenQuestLog
 CloseConfiguration
 ClosePaperdoll
 CloseStatus
 CloseJournal
 CloseSkills
 CloseSpellbook
 CloseChat
 CloseBackpack
 CloseOverview
 CloseMail
 ClosePartyManifest
 ClosePartyChat
 CloseNecroSpellbook
 ClosePaladinSpellbook
 CloseCombatBook
 CloseBushidoSpellbook
 CloseNinjitsuSpellbook
 CloseGuild
 CloseSpellweavingSpellbook
 CloseQuestLog
 MinimizePaperdoll
 MinimizeStatus
 MinimizeJournal
 MinimizeSkills
 MinimizeSpellbook
 MinimizeChat
 MinimizeBackpack
 MinimizeOverview
 MinimizeMail
 MinimizePartyManifest
 MinimizePartyChat
 MinimizeNecroSpellbook
 MinimizePaladinSpellbook
 MinimizeCombatBook
 MinimizeBushidoSpellbook
 MinimizeNinjitsuSpellbook
 MinimizeGuild
 MinimizeSpellweavingSpellbook
 MaximizePaperdoll
 MaximizeStatus
 MaximizeJournal
 MaximizeSkills
 MaximizeSpellbook
 MaximizeChat
 MaximizeBackpack
 MaximizeOverview
 MaximizeMail
 MaximizePartyManifest
 MaximizePartyChat
 MaximizeNecroSpellbook
 MaximizePaladinSpellbook
 MaximizeCombatBook
 MaximizeBushidoSpellbook
 MaximizeNinjitsuSpellbook
 MaximizeGuild
 MaximizeSpellweavingSpellbook
 OpenDoor
 UseAnatomy
 UseAnimalLore
 UseAnimalTaming
 UseArmsLore
 UseBegging
 UseCartography
 UseDetectingHidden
 UseDiscordance
 UseEvaluatingIntelligence
 UseForensicEvaluation
 UseHiding
 UseInscription
 UseItemIdentification
 UseMeditation
 UsePeacemaking
 UsePoisoning
 UseProvocation
 UseRemoveTrap
 UseSpiritSpeak
 UseStealing
 UseStealth
 UseTasteIdentification
 UseTracking
 LastSkill
 CastClumsy
 CastCreateFood
 CastFeeblemind
 CastHeal
 CastMagicArrow
 CastNightSight
 CastReactiveArmor
 CastWeaken
 CastAgility
 CastCunning
 CastCure
 CastHarm
 CastMagicTrap
 CastMagicUntrap
 CastProtection
 CastStrength
 CastBless
 CastFireball
 CastMagicLock
 CastPoison
 CastTelekinesis
 CastTeleport
 CastUnlock
 CastWallOfStone
 CastArchCure
 CastArchProtection
 CastCurse
 CastFireField
 CastGreaterHeal
 CastLightning
 CastManaDrain
 CastRecall
 CastBladeSpirits
 CastDispelField
 CastIncognito
 CastMagicReflection
 CastMindBlast
 CastParalyze
 CastPoisonField
 CastSummonCreature
 CastDispel
 CastEnergyBolt
 CastExplosion
 CastInvisibility
 CastMark
 CastMassCurse
 CastParalyzeField
 CastReveal
 CastChainLightning
 CastEnergyField
 CastFlameStrike
 CastGateTravel
 CastManaVampire
 CastMassDispel
 CastMeteorSwarm
 CastPolymorph
 CastEarthquake
 CastEnergyVortex
 CastResurrection
 CastAirElemental
 CastSummonDaemon
 CastEarthElemental
 CastFireElemental
 CastWaterElemental
 CastAnimateDead
 CastBloodOath
 CastCorpseSkin
 CastCurseWeapon
 CastEvilOmen
 CastHorrificBeast
 CastLichForm
 CastMindRot
 CastPainSpike
 CastPoisonStrike
 CastStrangle
 CastSummonFamiliar
 CastVampiricEmbrace
 CastVengefulSpirit
 CastWither
 CastWraithForm
 CastExorcism
 CastHonorableExecution
 CastConfidence
 CastEvasion
 CastCounterAttack
 CastLightningStrike
 CastMomentumStrike
 CastCleanseByFire
 CastCloseWounds
 CastConsecrateWeapon
 CastDispelEvil
 CastDivineFury
 CastEnemyOfOne
 CastHolyLight
 CastNobleSacrifice
 CastRemoveCurse
 CastSacredJourney
 CastFocusAttack
 CastDeathStrike
 CastAnimalForm
 CastKiAttack
 CastSurpriseAttack
 CastBackstab
 CastShadowjump
 CastMirrorImage
 CastArcaneCircle
 CastGiftOfRenewal
 CastImmolatingWeapon
 CastAttunement
 CastThunderstorm
 CastNaturesFury
 CastSummonFey
 CastSummonFiend
 CastReaperForm
 CastWildfire
 CastEssenceOfWind
 CastDryadAllure
 CastEtherealVoyage
 CastWordOfDeath
 CastGiftOfLife
 CastArcaneEmpowerment
 LastSpell
 LastObject
 Bow
 Salute
 QuitGame
 AllNames
 LastTarget
 TargetSelf
 ArmDisarmLeft
 ArmDisarmRight
 WaitForTarget
 TargetNext
 AttackLast
 Delay
 CircleTrans
 CloseGumps
 AlwaysRun
 SaveDesktop
 KillGumpOpen
 PrimaryAbility
 SecondaryAbility
 EquipLastWeapon
 SetUpdateRange
 ModifyUpdateRange
 IncreaseUpdateRange
 DecreaseUpdateRange
 MaximumUpdateRange
 MinimumUpdateRange
 DefaultUpdateRange
 UpdateUpdateRange
 EnableUpdateRangeColor
 DisableUpdateRangeColor
 ToggleUpdateRangeColor
 InvokeHonorVirtue
 InvokeSacrificeVirtue
 InvokeValorVirtue
 InvokeCompassionVirtue
 InvokeJusticeProtection
 SelectNextHostile
 SelectNextPartyMember
 SelectNextFollower
 SelectNextObject
 SelectNextMobile  
 SelectPreviousHostile
 SelectPreviousPartyMember
 SelectPreviousFollower 
 SelectPreviousObject
 SelectPreviousMobile
 SelectNearestHostile
 SelectNearestPartyMember
 SelectNearestFollower
 SelectNearestObject 
 SelectNearestMobile
 AttackSelected 
 UseSelected
 CurrentTarget
 TargetingSystemOnOff
 ToggleBuffWindow
 BandageSelf
 BandageTarget

Shortened names are also available for most macros:

 W         -- omitted, added in 0.06
 WW        -- error,   fixed in 0.06 to WNW       
 WN               
 WNE              
 WE               
 WSE              
 WS               
 WSW 
 WWest     -- error,   fixed in 0.06 to WW                     
 Toggle                    
 OConfig          
 OPD              
 OStatus          
 OJournal         
 OSkills          
 OSpell           
 OChat            
 OBP              
 ORadar           
 OMail            
 OPartyMan        
 OPartyChat       
 ONecro           
 OPaladin         
 OCombat          
 OBushido         
 ONinjitsu        
 OGuild           
 OSpellweav       
 OQuest           
 CConfig          
 CPD              
 CStatus          
 CJournal         
 CSkills          
 CSpell           
 CChat            
 CBP              
 CRadar           
 CMail            
 CPartyMan        
 CPartyChat       
 CNecro           
 CPaladin         
 CCombat          
 CBushido         
 CNinjitsu        
 CGuild           
 CSpellweav       
 CQuest           
 MinPD            
 MinStatus        
 MinJournal       
 MinSkills        
 MinSpell         
 MinChat          
 MinBP            
 MinRadar         
 MinMail          
 MinPartyMan      
 MinPartyChat     
 MinNecro         
 MinPaladin       
 MinCombat        
 MinBushido       
 MinNinjitsu      
 MinGuild         
 MinSpellweav     
 MaxPD            
 MaxStatus        
 MaxJournal       
 MaxSkills        
 MaxSpell         
 MaxChat          
 MaxBP            
 MaxRadar         
 MaxMail          
 MaxPartyMan      
 MaxPartyChat     
 MaxNecro         
 MaxPaladin       
 MaxCombat        
 MaxBushido       
 MaxNinjitsu      
 MaxGuild         
 MaxSpellweav     
 ODoor            
 UAnat            
 UAnil            
 UAnim            
 UArms            
 UBegg            
 UCart            
 UDete            
 UDisc            
 UEval            
 UFore            
 UHidi            
 UInsc            
 UItem            
 UMedi            
 UPeac            
 UPois            
 UProv            
 URemo            
 USpir            
 UStea            
 UStlt            
 UTast            
 UTrac            
 LSkill           
 _Clum            
 _CreateFood      
 _Feeb            
 _Heal            
 _MagicArro       
 _NightSigh       
 _ReactiveArmo    
 _Weak            
 _Agil            
 _Cunn            
 _Cure            
 _Harm            
 _MagicTrap       
 _MagicUntr       
 _Prot            
 _Stre            
 _Bles            
 _Fire            
 _MagicLock       
 _Pois            
 _Telek           
 _Telep           
 _Unlo            
 _WallOfSton      
 _ArchCure        
 _ArchProt        
 _Curs            
 _FireFiel        
 _GreaterHeal     
 _Ligh            
 _ManaDrai        
 _Reca            
 _BladeSpir       
 _DispelFiel      
 _Inco            
 _MagicRefl       
 _MindBlas        
 _Para            
 _PoisonFiel      
 _SummonCrea      
 _Disp            
 _EnergyBolt      
 _Expl            
 _Invi            
 _Mark            
 _MassCurse       
 _ParalyzeFiel    
 _Reve            
 _ChainLigh       
 _EnergyFiel      
 _FlameStri       
 _GateTrav        
 _ManaVamp        
 _MassDisp        
 _MeteorSwar      
 _Poly            
 _Eart            
 _EnergyVort      
 _Resu            
 _AirElem         
 _SummonDaem      
 _EarthElem       
 _FireElem        
 _WaterElem       
 _AnimateDead     
 _BloodOath       
 _CorpseSkin      
 _CurseWeap       
 _EvilOmen        
 _HorrificBeas    
 _LichForm        
 _MindRot         
 _PainSpik        
 _PoisonStri      
 _Stra            
 _SummonFami      
 _VampiricEmbr    
 _VengefulSpir    
 _With            
 _WraithForm      
 _Exor            
 _HonorableExec   
 _Conf            
 _Evas            
 _CounterAtta     
 _LightningStrik  
 _MomentumStrik   
 _CleanseByFire   
 _CloseWoun       
 _ConsecrateWeap  
 _DispelEvil      
 _DivineFury      
 _EnemyOfOne      
 _HolyLigh        
 _NobleSacr       
 _RemoveCurs      
 _SacredJour      
 _FocusAtta       
 _DeathStri       
 _AnimalForm      
 _KiAtta          
 _SurpriseAtta    
 _Back            
 _Shad            
 _MirrorImag      
 _ArcaneCirc      
 _GiftOfRene      
 _ImmolatingWeap  
 _Attu            
 _Thun            
 _NaturesFury     
 _SummonFey       
 _SummonFien      
 _ReaperForm      
 _Wild            
 _EssenceOfWind   
 _DryadAllu       
 _EtherealVoya    
 _WordOfDeat      
 _GiftOfLife      
 _ArcaneEmpo      
 LSpell           
 LObject               
 LTarget          
 TargSelf         
 ArmDisL          
 ArmDisR          
 WaitForTarg      
 TargNex          
 AttackL            
 CGumps            
 Prime         -- changed in 0.06 to Prim    
 Secondary     -- changed in 0.06 to Seco    
 ModUpdRange      
 IncUpdRange      
 DecUpdRange      
 MaxUpdRange      
 MinUpdRange      
 IHonor        -- changed in 0.06 to IHono     
 ISacrifice    -- changed in 0.06 to ISacr   
 IValor        -- changed in 0.06 to IValo   
 ICompassion   -- changed in 0.06 to IComp
 IJustice      -- changed in 0.06 to IJust   
 SelNextHos       
 SelNextPar       
 SelNextFol       
 SelNextObj       
 SelNextMob       
 SelPrevHos       
 SelPrevPar       
 SelPrevFol       
 SelPrevObj       
 SelPrevMob       
 SelNearHos       
 SelNearPar       
 SelNearFol       
 SelNearObj       
 SelNearMob       
 AttackSel        
 USel             
 CurTarg          
 TargSysOnOff     
 TogBuffWindow  -- changed in 0.06 to TogBuffWind    
 BSelf            
 BTarg

See Also