Page 1 of 1

Editor syntax color

Posted: Thu Apr 28, 2005 8:23 am
by || Napolion ||
What editor are all using to write MQ2 macro in ??

I was wondring if anyone is interesting in syntax coloring for Homesite 5.5 ??

Posted: Thu Apr 28, 2005 8:56 am
by psychosis
I use the VI Editor for windows.

VI Website

At first its a touch hard to use if you havent ever worked in the *NIX enviroment but I have found it to be one of the best editors out there.

Im working on making a syntax file for VI for community use if anyone is interested.

Posted: Thu Apr 28, 2005 9:29 am
by gimp
www.ultraedit.com for windows

Re: Editor syntax color

Posted: Thu Apr 28, 2005 9:45 am
by Fuergrissa
|| Napolion || wrote:What editor are all using to write MQ2 macro in ??

I was wondring if anyone is interesting in syntax coloring for Homesite 5.5 ??
Notepad for two reasons

1. Its Free
2. See above

Posted: Thu Apr 28, 2005 1:19 pm
by CheckinThingsOut
Do any of you guys that use UltraEdit have a *current* syntax file that they could post. I don't like the old ones that have been posted in the past.

Posted: Thu Apr 28, 2005 1:22 pm
by A_Druid_00
I *think* this is the one I used. I'm on my work comp at the moment though, so I might have a slightly different one at home.

Code: Select all

/L10"MacroQuest" Nocase Block Comment On = |** Block Comment Off = **| String Chars = "' File Extensions = MAC INC 
/Delimiters = <>=~!@%^&()+{}[];"'     ,? 
/Indent Strings = "{"
/Unindent Strings = "}"
/C1"Pre-Processor" 
#turbo 
#define 
#include 
#event 
#chat 
/C2"MQ Commands" 
// /alert /alias /beep 
// /breakin /buyitem 
// /call /cast /cleanup /click /commands 
// /declare /delay /doability /doevents /doors /doortarget 
// /echo /end /endmacro 
// /face /filter /finditem /for 
// /goto 
// /identify /if /items /itemtarget 
// /lclicktarget /listmacros 
// /macro /mapfilter /mem /memspell /merchant /mouseto /mqlog /mqpause /msgbox 
// /next /perl /press 
// /return /rclicktarget 
// /sendkey /sellitem /seterror /seterror /skills /spewfile 
// /telnet 
// /unload 
// /varadd /varcalc /varcat /varset /varsub 
// /where 
// /zapvars 
sub 
/C3"Macro Keywords" 
aa ability add alert all ammo any arms array array2 auto 
back bank birth book bound buff buy 
castradius casttime charm chest class clear color combine concolor corpse count cur 
debug defaultheading defaultx defaulty defaultz distance done door down duration 
ear1 ear2 else encumber enhanced enviro 
face fast feet finger1 finger2 food 
gem gender give global gold gm ground guild 
h hands head heading headingto held hotkey hp hslider 
id increased inv item 
left leggs level lfg light list loc local look lore 
m macro magic main mana map master max merchant money mycasttime mycorpse myself 
n name npc neck next noalert noarrays nodrop none nopcnear nopredict norent notid notimers novars npctrade nearalert notnearalert 
off on open 
pack pc pct pet plat position previous predict primary 
race radius range ranged recasttime recoverytime remove right 
s secondary sell shoulder silver size shield slot skills speed spell spellbook stack stamina state spawnradius 
target timer to trigger type 
up 
value vector 
waist weight wrist1 wrist2 
x 
y 
z zradius zrange 
** Event_ 
/C4"Macro Vars" 
$a $abs $acos $alert $arg $asin $atan 
$calc $char $combat $corpse $cos $count $cursor 
$date $defined $distance $door 
$envopen 
$find $freeinv $freespace 
$getlasterror $giveopen $gm $ground $group 
$heading 
$id $if $instr $int $invpanel $item 
$lastcommand $lasttell $lcase $left 
$merchant $mid $mouse 
$pack $pack 
$rand $return $right $running 
$searchspawn $selecteditem $selectedtarget $sin $spawn $spell $strlen 
$t $tan $target $time 
$ucase 
$v 
$zone 
/C5"User Vars" 
** @ 
/C6"EQ Commands" 
// /anon /a /afk /assist /attack /auction /autoinventory /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 /memspellset /mousespeed /msg 
// /note 
// /ooc /open 
// /pet /petition /played 
// /quit 
// /random /reply /report /resetwindows /reverb /reversesound /roleplay /rol 
// /serverfilter /shout /shownames /showspelleffects /sit /split /stand /stopsong /surname 
// /target /targetgroupbuff /tell /time /trackfilter /trackplayers /tracksort 
// /usercolor 
// /vrdelay 
// /who /whotarget 
// /wincolor /yell 
/C7"EQ Emotes" 
// /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 
/C8"Functions" 
** : 

Posted: Thu Apr 28, 2005 2:51 pm
by Agripa
I use CodeWright and ended up creating my own syntax color data for it although it is missing the rarer commands and variables as I only add them when I use them.

I need to look into VI. My favorite editor by far was WordStar but that just shows how old I am.