MacroQuest TextPad syntax definition file

A forum for the general posts relating to MacroQuest. *DEPRECATED: This forum is no longer in public use, but remains here for your reading pleasure. Enjoy

Moderator: MacroQuest Developers

ddh
decaying skeleton
decaying skeleton
Posts: 7
Joined: Sat Aug 31, 2002 6:22 am

MacroQuest TextPad syntax definition file

Post by ddh » Sat Aug 31, 2002 6:59 am

Includes all the MQ commands, EQ commands, EQ emotes, etc. To get full use out of it, when you're creating your new document class be sure to set some colors for each of the keyword blocks. Copy/paste into a file of your own and name it something like mq.syn

edit: Problem with one of the commands.
[[L124RD's note - If the line 'c=1' has a space after it when you copy it into a file to save it, remove it before saving]]


; MacroQuest syntax definitions by ddh
; webmaster@digitaldh.net
; Created on August 31st, 2002

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]
:
Sub
/face
/finditem
/identify
/items
/itemtarget
/where
/doors
/doortarget
/alias
/alert
/mouseto
/cleanup
/sendkey
/press
/mqpause
/skills
/macro
/endmacro
/listmacros
/mqlog
/if
else
/for
/next
/goto
/zapvars
/seterror
/msgbox
/varset
/varadd
/varsub
/varcalc
/delay
/call
/return
/doevents
/unload
/breakin

[Keywords 2]
$pack
$cursor
$item
$equip
$count
$freeinv
$find
$mouse
$distance
$alert
$zone
$lasttell
$target
$char
$combat
$invpanel
$merchant
$return
$rand
$getlasterror
$gm
$arg
$calc
$abs
$int
$lastcommand
$sin
$cos
$tan
$asin
$acos
$atan
$running
$time
$date
$p
$a
$t
$v

[Keywords 3]
/pet guard
/pet follow
/pet attack
/pet back
/pet as you were
/pet get lost
/pet report
/pet health
/pet notaunt
/pet no taunt
/pet taunt
/pet stand
/pet sit
/anon
/a
/afk
/assist
/attack
/auction
/auc
/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
/help
/hidecorpses
/ignore
/inspect
/invite
/invwinlabels
/language
/lfg
/log
/location
/loc
/loot
/lootnodrop
/mcicontrol
/me
/mousespeed
/msg
/note
/ooc
/petition
/played
/quit
/q
/random
/rand
/reply
/report
/resetwindows
/reverb
/reversesound
/roleplay
/role
/serverfilter
/shout
/shownames
/showspelleffects
/sit
/split
/stopsong
/surname
/targetgroupbuff
/tell
/time
/trackfilter
/trackplayers
/tracksort
/usercolor
/vrdelay
/who
/who corpse
/whotarget
/wincolor
/yell
/guildsay
/gu
/guildinvite
/guildremove
/guilddelete
/guildstatus
/guildleader
/guildwar
/guildpeace
/guildmotd
/ooc

[Keywords 4]
/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

[Keywords 5]
on
off
desktop
open
play
pause
stop
step
back
eject
cdaudio
up
down
[b]d[/b]igital [b]d[/b]emon [b]h[/b]amster

User avatar
rizwank
Huggle Police
Huggle Police
Posts: 524
Joined: Tue Jul 23, 2002 12:07 am
Contact:

Post by rizwank » Sun Sep 01, 2002 5:31 pm

very cool....
l124rd can show you how to post files, if youd like

might want to post alink for those of us that dont know google.
http://www.textpad.com/
http://www.textpad.com/download/index.html

User avatar
Fippy
a snow griffon
a snow griffon
Posts: 499
Joined: Tue Jul 16, 2002 10:42 am

Post by Fippy » Sun Sep 01, 2002 6:30 pm

Also noticed that a rouge space after the C=1 line caused and error in the .syn file, Once remove all is AOK.

User avatar
rizwank
Huggle Police
Huggle Police
Posts: 524
Joined: Tue Jul 23, 2002 12:07 am
Contact:

Post by rizwank » Sun Sep 01, 2002 7:37 pm

can you make /goto : a keyword instead of /goto... i get pissed at myself everytime I goto x without making it goto :x ... thinking of the basic days i guess.
rk

ddh
decaying skeleton
decaying skeleton
Posts: 7
Joined: Sat Aug 31, 2002 6:22 am

Post by ddh » Sun Sep 01, 2002 8:42 pm

rizwank: /goto : wouldn't make much difference over /goto. TextPad doesn't actually do any checking over if you match a command or not, it just does colorization. And, unless you have a large font, the : is barely noticable as colored. I shoulda posted links. :) Posting files woulda been dandy, a lot nice than posting all of the syntax file.

Fippy: The space wasn't in my file. It was added when you copy/pasted from the board. But good of you to mention that.
[b]d[/b]igital [b]d[/b]emon [b]h[/b]amster

User avatar
rizwank
Huggle Police
Huggle Police
Posts: 524
Joined: Tue Jul 23, 2002 12:07 am
Contact:

Post by rizwank » Sun Sep 01, 2002 8:47 pm

its added in the board itself, a trailing space.

maybe code would work

Code: Select all

space test... is there a space after this? CRnext
space test... is there a space after this? endcodenext

User avatar
rizwank
Huggle Police
Huggle Police
Posts: 524
Joined: Tue Jul 23, 2002 12:07 am
Contact:

Post by rizwank » Sun Sep 01, 2002 8:47 pm

if there is a CR return, a space is added. if there is not, there is not. not sure of how to fix beyond making a ton of code flags.

ddh
decaying skeleton
decaying skeleton
Posts: 7
Joined: Sat Aug 31, 2002 6:22 am

Post by ddh » Sun Sep 01, 2002 8:59 pm

Post a note saying "Remove the space after C=1" :)
[b]d[/b]igital [b]d[/b]emon [b]h[/b]amster

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Sun Sep 01, 2002 9:58 pm

Salutations,
on my comp, copying the definition file in to notepad and then saving it, i didn't find a problem with the leading space, but i'll mention it.

User avatar
Fippy
a snow griffon
a snow griffon
Posts: 499
Joined: Tue Jul 16, 2002 10:42 am

Post by Fippy » Wed Sep 04, 2002 8:39 am

Missing commands

Standard EQ
/target
/stand

MacroQuest
/echo
/click

User avatar
rizwank
Huggle Police
Huggle Police
Posts: 524
Joined: Tue Jul 23, 2002 12:07 am
Contact:

Post by rizwank » Wed Sep 04, 2002 11:05 am

and will you update this when next version comes out?

User avatar
rizwank
Huggle Police
Huggle Police
Posts: 524
Joined: Tue Jul 23, 2002 12:07 am
Contact:

Post by rizwank » Mon Sep 23, 2002 6:33 pm

anyone willing to update this?

User avatar
rizwank
Huggle Police
Huggle Police
Posts: 524
Joined: Tue Jul 23, 2002 12:07 am
Contact:

Post by rizwank » Sun Sep 29, 2002 5:32 pm

Un stickying cause its behind and im not updating it right now

will restick if updated.