Editor syntax color

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

|| Napolion ||
a ghoul
a ghoul
Posts: 96
Joined: Sat Dec 28, 2002 7:45 am

Editor syntax color

Post by || Napolion || » Thu Apr 28, 2005 8:23 am

What editor are all using to write MQ2 macro in ??

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

psychosis
a lesser mummy
a lesser mummy
Posts: 32
Joined: Fri Jan 28, 2005 2:23 pm

Post by psychosis » Thu Apr 28, 2005 8:56 am

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.

User avatar
gimp
a grimling bloodguard
a grimling bloodguard
Posts: 584
Joined: Fri Oct 29, 2004 9:28 am
Location: internet

Post by gimp » Thu Apr 28, 2005 9:29 am

www.ultraedit.com for windows

User avatar
Fuergrissa
a grimling bloodguard
a grimling bloodguard
Posts: 607
Joined: Mon Dec 08, 2003 3:46 pm
Location: UK

Re: Editor syntax color

Post by Fuergrissa » Thu Apr 28, 2005 9:45 am

|| 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
[quote]"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."[/quote]

CheckinThingsOut
a ghoul
a ghoul
Posts: 81
Joined: Wed Jun 30, 2004 3:11 pm

Post by CheckinThingsOut » Thu Apr 28, 2005 1:19 pm

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.

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Thu Apr 28, 2005 1:22 pm

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" 
** : 
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

Agripa
a ghoul
a ghoul
Posts: 97
Joined: Tue Nov 23, 2004 10:16 pm

Post by Agripa » Thu Apr 28, 2005 2:51 pm

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.