Moderator: MacroQuest Developers
Code: Select all
; MacroQuest syntax definitions Originally by ddh
; webmaster@digitaldh.net
; Created on August 31st, 2002
; Cleaned up and added all commands up to IRC20021116
; on December 1st, 2002 by Fippy
; Added all system variables up to IRC20031005
; on October 8th, 2003 by MacroFiend
; May 17, 2004. TLO's and Memebers added - Preocts
; Cleaned up old /commands and $params - Preocts
C=1
[Syntax]
Namespace1 = 5
IgnoreCase = Yes
KeyWordLength =
BracketChars = {[()]}
OperatorChars = -+*<>!~%^&|=
PreprocStart = #
SyntaxStart =
SyntaxEnd =
HexPrefix =
CommentStart = |**
CommentEnd = **|
CommentStartAlt =
CommentEndAlt =
SingleComment = |
SingleCommentCol =
SingleCommentAlt =
SingleCommentColAlt =
SingleCommentEsc =
StringsSpanLines = No
StringStart = "
StringEnd = "
StringAlt =
StringEsc =
CharStart =
CharEnd =
CharEsc =
[Preprocessor keywords]
#turbo
#define
#include
#event
#chat
[Keywords 1]
:
/alert
/alias
/alt
/banklist
/beep
/bind
/buyitem
/call
/caption
/cast
/charinfo
/cleanup
/clearerrors
/click
/combine
/ctrl
/custombind
/declare
/delay
/deletevar
/destroy
/docommand
/doevents
/doors
/doortarget
/dosocial
/drop
/dumpbinds
/echo
/endmacro
/face
/filter
/for
/goto
/help
/hud
/identify
/if
/newif
/items
/itemnotify
/itemtarget
/keepkeys
/keypress
/listmacros
/loadcfg
/loadspells
/location
/loginname
/look
/loadhud
/macro
/memspell
/mouseto
/mqlog
/mqpause
/multiline
/msgbox
/notify
/next
/plugin
/popup
/ranged
/return
/sellitem
/setautorun
/seterror
/shift
/skills
/spew
/squelch
/target
/timed
/unload
/updateitems
/varcalc
/varset
/vardata
/where
/who
/whofilter
/whotarget
/windows
/windowstate
/zapvars
downto
else
Event_Chat
Event_
Event_Timer
main
n
sub
to
[Keywords 2]
Me
Spawn
Target
Spell
Switch
Ground
Merchant
Window
Zone
Group
String
Int
Bool
Float
Macro
MacroQuest
Math
Corpse
Cursor
If
LastSpawn
NearestSpawn
Type
Heading
Defined
Ini
Time
GameTime
InvSlot
FindItem
FintItemBank
FindItemCount
FindItemBankCount
SelectedItem
Plugin
GroupLeaderName
GroupLeader
Skill
Raid
[Keywords 3]
.R
.G
.B
.Int
.Float
.Hex
.Reverse
.Deci
.Centi
.Milli
.Precision
.Hours
.Minutes
.Seconds
.Time
.TimeHMS
.TotalMinutes
.TotalSeconds
.Ticks
.Clock
.Degrees
.DegreesCCW
.Name
.ShortName
.ID
.PetClass
.PureCaster
.CanCast
.DruidType
.ShamanType
.NecromancerType
.ClericType
.Team
.Find
.Length
.Upper
.Lower
.Left
.Right
.Mid
.Compare
.CompareCS
.Equal
.NotEqual
.EqualCS
.NotEqualCS
.Arg
.Token
.Count
.Level
.X
.Y
.Z
.N
.W
.U
.S
.E
.D
.DistanceX
.DistanceY
.DistanceZ
.DistanceW
.DistanceN
.DistanceU
.Distance
.Distance3D
.DistancePredict
.Next
.Prev
.Heading
.Speed
.Levitating
.Sneaking
.HeadingTo
.Light
.Body
.State
.CurrentHPs
.MaxHPs
.PctHPs
.Deity
.Type
.CleanName
.Surname
.Guild
.GuildStatus
.Master
.Pet
.Mount
.Race
.Class
.Gender
.GM
.Height
.MaxRange
.MaxRangeTo
.AARank
.Casting
.Swimming
.FeetWet
.Underwater
.Animation
.Holding
.Look
.ConColor
.Invis
.Sitting
.Standing
.Ducking
.Binding
.Feigning
.Invited
.NearestSpawn
.LFG
.Linkdead
.Trader
.AFK
.GroupLeader
.AATitle
.Anonymous
.Roleplaying
.Exp
.PctExp
.Spawn
.AAExp
.PctAAExp
.AAPoints
.HPRegen
.CurrentMana
.MaxMana
.ManaRegen
.PctMana
.Endurance
.MaxEndurance
.PctEndurance
.Buff
.Song
.Cash
.CashBank
.PlatinumShared
.Grouped
.HPBonus
.ManaBonus
.GukEarned
.MMEarned
.RujEarned
.TakEarned
.MirEarned
.LDoNPoints
.CurrentFavor
.CareerFavor
.Inventory
.Bank
.Bound
.Combat
.Gem
.Dar
.Moving
.Hunger
.Thirst
.Book
.Skill
.Ability
.AbilityReady
.SpellReady
.PetBuff
.GroupLeaderExp
.PctGroupLeaderExp
.GroupLeaderPoints
.RaidLeaderExp
.PctRaidLeaderExp
.RaidLeaderPoints
.Platinum
.Gold
.Silver
.Copper
.PlatinumBank
.GoldBank
.SilverBank
.CopperBank
.Stunned
.RangedReady
.AltTimerReady
.AltAbility
.AltAbilityReady
.AltAbilityTimer
.CombatAbility
.character.FreeInventory
.character.LargestFreeInventory
.TargetOfTarget
.Spell
.Mod
.Duration
.Mana
.ResistAdj
.Range
.AERange
.PushBack
.CastTime
.FizzleTime
.RecoveryTime
.MyCastTime
.RecastTime
.SpellType
.TargetType
.ResistType
.DefaultX
.DefaultY
.DefaultZ
.DefaultW
.DefaultN
.DefaultU
.DefaultHeading
.Open
.Abs
.Rand
.Calc
.Sqrt
.Sin
.Cos
.Tan
.Asin
.Acos
.Atan
.Dec
.Not
.Child
.VScrollMax
.VScrollPos
.VScrollPct
.HScrollMax
.HScrollPos
.HScrollPct
.Children
.Siblings
.Parent
.FirstChild
.Minimized
.Width
.MouseOver
.BGColor
.Text
.Tooltip
.List
.Checked
.Highlighted
.Enabled
.Style
.Gravity
.SkyType
.SafeX
.SafeY
.SafeZ
.SafeW
.SafeN
.SafeU
.MinClip
.MaxClip
.Lore
.NoDrop
.NoRent
.Magic
.Value
.Size
.Weight
.Stack
.Charges
.LDoNTheme
.DMGBonusType
.Stackable
.Container
.Items
.Item
.InvSlot
.BuyPrice
.SellPrice
.EffectType
.RunTime
.Return
.Params
.GameState
.LoginName
.Server
.LastTell
.LastCommand
.Error
.SyntaxError
.MQ2DataError
.Running
.MouseX
.MouseY
.Hour
.Minute
.Second
.DayOfWeek
.Day
.Month
.Year
.Time12
.Time24
.Date
.Night
.SecondsSinceMidnight
.Member
.Markup
.Pack
.Slot
.Accuracy
.ReuseTime
.AltTimer
.MinLevel
.StartingSkill
.SkillCapPre50
.SkillCapPost50
.Description
.Cost
.RequiresAbility
.RequiresAbilityPoints
.MaxRank
.AARankRequired
.Target
.Leader
.Members
.TotalLevels
.AverageLevel
.LootType
.Looter
.Looters
[Keywords 4]
/anon
/a
/afk
/assist
/attack
/auction
/autojoin
/autosplit
/book
/bug
/camp
/cast
/channel
/chatfontsize
/consent
/corpse
/decline
/disband
/dismount
/doability
/duel
/d
/dynamiclights
/em
/exit
/facepick
/fastdrop
/feedback
/filter
/follow
/friend
/gems
/gsay
/g
/guildsay
/gu
/guildinvite
/guildremove
/guilddelete
/guildstatus
/guildleader
/guildwar
/guildpeace
/guildmotd
/help
/hidecorpses
/hslider
/ignore
/inspect
/invite
/invwinlabels
/language
/lfg
/log
/location
/loc
/loot
/lootnodrop
/mcicontrol
/me
/mousespeed
/msg
/note
/ooc
/pet
/petition
/played
/quit
/random
/reply
/report
/resetwindows
/reverb
/reversesound
/roleplay
/rol
/serverfilter
/shout
/shownames
/showspelleffects
/sit
/split
/stand
/stopsong
/surname
/targetgroupbuff
/tell
/time
/trackfilter
/trackplayers
/tracksort
/usercolor
/vrdelay
/whotarget
/wincolor
/yell
[Keywords 5]
/Agree
/Amaze
/Apologize
/Applaud
/Bite
/Bleed
/Blink
/Blush
/Boggle
/Bonk
/Bored
/Bow
/Brb
/Burp
/Bye
/Cackle
/Calm
/Cheer
/Clap
/Comfort
/Congratulate
/Cough
/Cringe
/Cry
/Curious
/Dance
/Drool
/Duck
/Eye
/Fidget
/Flex
/Gasp
/Giggle
/Glare
/Grin
/Groan
/Grovel
/Happy
/Hungry
/Introduce
/Jk
/Kneel
/Lost
/Massage
/Moan
/Mourn
/Nod
/Nudge
/Panic
/Pat
/Peer
/Plead
/Point
/Ponder
/Purr
/Puzzle
/Raise
/Ready
/Roar
/Rofl
/Salute
/Shiver
/Shrug
/Sigh
/Smack
/Smirk
/Snarl
/Snicker
/Stare
/Tap
/Tease
/Thank
/Thirsty
/Veto
/Wave
/Welcome
/Whine
/Whistle
/Yawn
Code: Select all
KeyWordChars = .Code: Select all
Namespace1 = 5Code: Select all
Namespace1 = 6Code: Select all
[Keywords 6]
local
outer
global
Code: Select all
; MacroQuest syntax definitions Originally by ddh
; webmaster@digitaldh.net
; Created on August 31st, 2002
; Cleaned up and added all commands up to IRC20021116
; on December 1st, 2002 by Fippy
; Added all system variables up to IRC20031005
; on October 8th, 2003 by MacroFiend
; May 17, 2004. TLO's and Memebers added - Preocts
; Cleaned up old /commands and $params - Preocts
; July 1, 2004 Corrected for board changes affecting < showing as < and > showing as &tg; - aChallenged1
; No other changes (I'm not worthy) - aChallenged1
C=1
[Syntax]
Namespace1 = 5
IgnoreCase = Yes
KeyWordLength =
BracketChars = {[()]}
OperatorChars = -+*<>!~%^&|=
PreprocStart = #
SyntaxStart =
SyntaxEnd =
HexPrefix =
CommentStart = |**
CommentEnd = **|
CommentStartAlt =
CommentEndAlt =
SingleComment = |
SingleCommentCol =
SingleCommentAlt =
SingleCommentColAlt =
SingleCommentEsc =
StringsSpanLines = No
StringStart = "
StringEnd = "
StringAlt =
StringEsc =
CharStart =
CharEnd =
CharEsc =
[Preprocessor keywords]
#turbo
#define
#include
#event
#chat
[Keywords 1]
:
/alert
/alias
/alt
/banklist
/beep
/bind
/buyitem
/call
/caption
/cast
/charinfo
/cleanup
/clearerrors
/click
/combine
/ctrl
/custombind
/declare
/delay
/deletevar
/destroy
/docommand
/doevents
/doors
/doortarget
/dosocial
/drop
/dumpbinds
/echo
/endmacro
/face
/filter
/for
/goto
/help
/hud
/identify
/if
/newif
/items
/itemnotify
/itemtarget
/keepkeys
/keypress
/listmacros
/loadcfg
/loadspells
/location
/loginname
/look
/loadhud
/macro
/memspell
/mouseto
/mqlog
/mqpause
/multiline
/msgbox
/notify
/next
/plugin
/popup
/ranged
/return
/sellitem
/setautorun
/seterror
/shift
/skills
/spew
/squelch
/target
/timed
/unload
/updateitems
/varcalc
/varset
/vardata
/where
/who
/whofilter
/whotarget
/windows
/windowstate
/zapvars
downto
else
Event_Chat
Event_
Event_Timer
main
n
sub
to
[Keywords 2]
Me
Spawn
Target
Spell
Switch
Ground
Merchant
Window
Zone
Group
String
Int
Bool
Float
Macro
MacroQuest
Math
Corpse
Cursor
If
LastSpawn
NearestSpawn
Type
Heading
Defined
Ini
Time
GameTime
InvSlot
FindItem
FintItemBank
FindItemCount
FindItemBankCount
SelectedItem
Plugin
GroupLeaderName
GroupLeader
Skill
Raid
[Keywords 3]
.R
.G
.B
.Int
.Float
.Hex
.Reverse
.Deci
.Centi
.Milli
.Precision
.Hours
.Minutes
.Seconds
.Time
.TimeHMS
.TotalMinutes
.TotalSeconds
.Ticks
.Clock
.Degrees
.DegreesCCW
.Name
.ShortName
.ID
.PetClass
.PureCaster
.CanCast
.DruidType
.ShamanType
.NecromancerType
.ClericType
.Team
.Find
.Length
.Upper
.Lower
.Left
.Right
.Mid
.Compare
.CompareCS
.Equal
.NotEqual
.EqualCS
.NotEqualCS
.Arg
.Token
.Count
.Level
.X
.Y
.Z
.N
.W
.U
.S
.E
.D
.DistanceX
.DistanceY
.DistanceZ
.DistanceW
.DistanceN
.DistanceU
.Distance
.Distance3D
.DistancePredict
.Next
.Prev
.Heading
.Speed
.Levitating
.Sneaking
.HeadingTo
.Light
.Body
.State
.CurrentHPs
.MaxHPs
.PctHPs
.Deity
.Type
.CleanName
.Surname
.Guild
.GuildStatus
.Master
.Pet
.Mount
.Race
.Class
.Gender
.GM
.Height
.MaxRange
.MaxRangeTo
.AARank
.Casting
.Swimming
.FeetWet
.Underwater
.Animation
.Holding
.Look
.ConColor
.Invis
.Sitting
.Standing
.Ducking
.Binding
.Feigning
.Invited
.NearestSpawn
.LFG
.Linkdead
.Trader
.AFK
.GroupLeader
.AATitle
.Anonymous
.Roleplaying
.Exp
.PctExp
.Spawn
.AAExp
.PctAAExp
.AAPoints
.HPRegen
.CurrentMana
.MaxMana
.ManaRegen
.PctMana
.Endurance
.MaxEndurance
.PctEndurance
.Buff
.Song
.Cash
.CashBank
.PlatinumShared
.Grouped
.HPBonus
.ManaBonus
.GukEarned
.MMEarned
.RujEarned
.TakEarned
.MirEarned
.LDoNPoints
.CurrentFavor
.CareerFavor
.Inventory
.Bank
.Bound
.Combat
.Gem
.Dar
.Moving
.Hunger
.Thirst
.Book
.Skill
.Ability
.AbilityReady
.SpellReady
.PetBuff
.GroupLeaderExp
.PctGroupLeaderExp
.GroupLeaderPoints
.RaidLeaderExp
.PctRaidLeaderExp
.RaidLeaderPoints
.Platinum
.Gold
.Silver
.Copper
.PlatinumBank
.GoldBank
.SilverBank
.CopperBank
.Stunned
.RangedReady
.AltTimerReady
.AltAbility
.AltAbilityReady
.AltAbilityTimer
.CombatAbility
.character.FreeInventory
.character.LargestFreeInventory
.TargetOfTarget
.Spell
.Mod
.Duration
.Mana
.ResistAdj
.Range
.AERange
.PushBack
.CastTime
.FizzleTime
.RecoveryTime
.MyCastTime
.RecastTime
.SpellType
.TargetType
.ResistType
.DefaultX
.DefaultY
.DefaultZ
.DefaultW
.DefaultN
.DefaultU
.DefaultHeading
.Open
.Abs
.Rand
.Calc
.Sqrt
.Sin
.Cos
.Tan
.Asin
.Acos
.Atan
.Dec
.Not
.Child
.VScrollMax
.VScrollPos
.VScrollPct
.HScrollMax
.HScrollPos
.HScrollPct
.Children
.Siblings
.Parent
.FirstChild
.Minimized
.Width
.MouseOver
.BGColor
.Text
.Tooltip
.List
.Checked
.Highlighted
.Enabled
.Style
.Gravity
.SkyType
.SafeX
.SafeY
.SafeZ
.SafeW
.SafeN
.SafeU
.MinClip
.MaxClip
.Lore
.NoDrop
.NoRent
.Magic
.Value
.Size
.Weight
.Stack
.Charges
.LDoNTheme
.DMGBonusType
.Stackable
.Container
.Items
.Item
.InvSlot
.BuyPrice
.SellPrice
.EffectType
.RunTime
.Return
.Params
.GameState
.LoginName
.Server
.LastTell
.LastCommand
.Error
.SyntaxError
.MQ2DataError
.Running
.MouseX
.MouseY
.Hour
.Minute
.Second
.DayOfWeek
.Day
.Month
.Year
.Time12
.Time24
.Date
.Night
.SecondsSinceMidnight
.Member
.Markup
.Pack
.Slot
.Accuracy
.ReuseTime
.AltTimer
.MinLevel
.StartingSkill
.SkillCapPre50
.SkillCapPost50
.Description
.Cost
.RequiresAbility
.RequiresAbilityPoints
.MaxRank
.AARankRequired
.Target
.Leader
.Members
.TotalLevels
.AverageLevel
.LootType
.Looter
.Looters
[Keywords 4]
/anon
/a
/afk
/assist
/attack
/auction
/autojoin
/autosplit
/book
/bug
/camp
/cast
/channel
/chatfontsize
/consent
/corpse
/decline
/disband
/dismount
/doability
/duel
/d
/dynamiclights
/em
/exit
/facepick
/fastdrop
/feedback
/filter
/follow
/friend
/gems
/gsay
/g
/guildsay
/gu
/guildinvite
/guildremove
/guilddelete
/guildstatus
/guildleader
/guildwar
/guildpeace
/guildmotd
/help
/hidecorpses
/hslider
/ignore
/inspect
/invite
/invwinlabels
/language
/lfg
/log
/location
/loc
/loot
/lootnodrop
/mcicontrol
/me
/mousespeed
/msg
/note
/ooc
/pet
/petition
/played
/quit
/random
/reply
/report
/resetwindows
/reverb
/reversesound
/roleplay
/rol
/serverfilter
/shout
/shownames
/showspelleffects
/sit
/split
/stand
/stopsong
/surname
/targetgroupbuff
/tell
/time
/trackfilter
/trackplayers
/tracksort
/usercolor
/vrdelay
/whotarget
/wincolor
/yell
[Keywords 5]
/Agree
/Amaze
/Apologize
/Applaud
/Bite
/Bleed
/Blink
/Blush
/Boggle
/Bonk
/Bored
/Bow
/Brb
/Burp
/Bye
/Cackle
/Calm
/Cheer
/Clap
/Comfort
/Congratulate
/Cough
/Cringe
/Cry
/Curious
/Dance
/Drool
/Duck
/Eye
/Fidget
/Flex
/Gasp
/Giggle
/Glare
/Grin
/Groan
/Grovel
/Happy
/Hungry
/Introduce
/Jk
/Kneel
/Lost
/Massage
/Moan
/Mourn
/Nod
/Nudge
/Panic
/Pat
/Peer
/Plead
/Point
/Ponder
/Purr
/Puzzle
/Raise
/Ready
/Roar
/Rofl
/Salute
/Shiver
/Shrug
/Sigh
/Smack
/Smirk
/Snarl
/Snicker
/Stare
/Tap
/Tease
/Thank
/Thirsty
/Veto
/Wave
/Welcome
/Whine
/Whistle
/Yawn