Page 3 of 3

Posted: Thu Oct 09, 2003 8:45 am
by Mckorr
There are syntax files in the boards for Textpad, UltraEdit32, and Crimson Editor. All stickies in this forum.

Posted: Fri Oct 31, 2003 3:59 am
by Ainna
MacroFiend

Code: Select all

C=1 
Should be:

Code: Select all

C=1

Posted: Sat Nov 22, 2003 10:02 am
by in_training
Edited, cause I can't seem to click "next."

(Didn't read all 3 pages, assumed the code was correct on the first page)
My bad.

postCount++

2nd Edit:

/varcat isn't in there. :D

Posted: Mon May 17, 2004 2:20 pm
by Preocts
La la, was bored today.

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 

Posted: Wed May 19, 2004 5:46 pm
by signal0
Thanks, Preocts! :)

To make the syntax highlighting work correctly, you need to add

Code: Select all

KeyWordChars = .
to the [Syntax] section, and remove all of the "." characters from the keywords in [Keywords 3].

Also, if you want, change

Code: Select all

Namespace1 = 5
in the [Syntax] section to

Code: Select all

Namespace1 = 6
and add

Code: Select all

[Keywords 6]
local
outer
global
to the end of the file.

This is with Textpad 4.7.2, by the way.

Posted: Sun May 30, 2004 10:40 am
by TrippyTom
I would also like to change the Dark Blue colors to Dark Red. How did you do this? I've looking in the file to see where a color definition might be, but can't find it.

Posted: Tue Jun 01, 2004 11:43 am
by TrippyTom
Nevermind... I finally figured out it was under Configure > Preferences > Document Classes

Posted: Wed Jun 02, 2004 1:31 pm
by sj_digriz
When using Textpad I can't seem to get colors working for any keyword that starts with a /

The rest of the config file works as expected. Is there a setting I can't find?

Thanks,
SJ

Posted: Mon Jun 07, 2004 7:23 pm
by fantum409
This is so very cool I wish I had been watching this forum so I could have been using this since May 17th. I'm sure this will save me some time.

Can someone suggest color settings that will allow the organizational features of this to be best utilized? At a glance it looks like the groupings could each be assigned a color, and I can go to (Config > Prefs > Document classes > mytype > Colors) and select random color settings...
but if there is any method that might lessen my learning curve I will gladly take a tip. :wink:

Posted: Thu Jul 01, 2004 5:57 am
by Fippy
Hehe been away for quite a while and this is still being updated. Sweet :)

Posted: Thu Jul 01, 2004 6:40 am
by aChallenged1
If you copy and paste that be sure to edit it and fix it so that < is < and > is > or it won't work.

Awww hell, the least I can do is post the fix due to recent board changes.

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 
[/code]