UltraEdit Syntax WORDFILE

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

Jay
a lesser mummy
a lesser mummy
Posts: 59
Joined: Tue Jan 28, 2003 11:37 am

UltraEdit Syntax WORDFILE

Post by Jay » Fri Mar 14, 2003 2:31 am

This will really help script writing using UltraEdit-32 (http://www.idmcomp.com/downloads/index.html#www)

Code: Select all

/L11"MacroQuest" Nocase Line Comment = | Block Comment On = |** Block Comment Off = **| String Chars = "' File Extensions = MAC
/Delimiters = <>=~!@%^&()+{}[];"'     ,?

/C1"Pre-Processor"
#turbo 
#define 
#include 
#event 
#chat 

/C2"MQ Commands"
// /alert /alias /beep 
// /breakin 
// /call /cleanup /click /commands 
// /delay /doevents /doors /doortarget 
// /echo /endmacro 
// /face /filter /finditem /for 
// /goto 
// /identify /if /items /itemtarget 
// /listmacros 
// /macro /mem /merchant /mouseto /mqlog /mqpause /msgbox 
// /next /perl /press 
// /return 
// /sendkey /seterror /seterror /skills /spewfile 
// /telnet 
// /unload 
// /varadd /varcalc /varset /varsub 
// /where 
// /zapvars 
downto else Event_Chat Event_ Event_Timer main n sub to 

/C3"Vars"
$a $abs $acos $alert $arg $asin $atan $calc $char $combat $cos $count $cursor $date $distance $door $find 
$freeinv $getlasterror $gm $ground $group $heading $id $if $instr $int $invpanel $item $lastcommand $lasttell 
$lcase $left $merchant $mid $mouse $p $pack $pack $rand $return $right $running $sin $spawn $spell $strlen 
$t $tan $target $time $ucase $v $zone
** $

/C4"EQ Commands"
// /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 
// /target /targetgroupbuff /tell /time /trackfilter /trackplayers /tracksort /usercolor /vrdelay /who /whotarget 
// /wincolor /yell 

/C5"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

/C6"Keywords"
aa ability add alert all allbutgroup ALWAYS ammo arms as attack auto away back bank birth Blue book bound 
buff cash cdaudio chest class clean clear combine Consider copper corpse cur defaultheading defaultx 
defaulty defaultz delete desktop destroy distance done door down e ear1 ear2 eject empty enchanced encumber 
enviro equip exp face fast feet finger1 finger2 flush follow food gem gender get gm gold Green guard guild 
hands has head heading headingto health held here hotkey hslider hp id increase ismoving item left legs 
level light list loc lore lost m macros magic mana master max me merchant money mycorpse myself name 
nearalert neck NEVER next noalert noarrays nodrop none nopredict norent Normal notaunt notid notimers 
notnearalert novars npc npctrade OFF ON open pack pause pct pet plat play prev primary race radius range 
ranged right Rconsider Rdistance Red report s secondary server shoulder silver similar sit size skill 
skills slot slots SOMETIMES space speed stack stamina stand state step stop surname target taunt trader 
type up value waist weight were White wrist1 wrist2 x y Yellow you 

/c7"Functions"
** : 
Enjoy,

Jay

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Fri Mar 14, 2003 7:18 am

Been using Textpad for my macro editing, Metapad (great Notepad replacement) before that.

So, what are the various strengths and weaknesses of UltraEdit vs. Textpad?

Hmmm, haven't played with EMACS for a while, maybe I'll take a look at a syntax file for that....

Spanky_Monkey
a ghoul
a ghoul
Posts: 103
Joined: Wed Feb 19, 2003 3:10 pm

Spanktacular

Post by Spanky_Monkey » Fri Mar 14, 2003 12:26 pm

Kewl, I have had UE installed forever cause I like it for personal code ... well I like scope edit and vim as well, but that is not the issue here. Just a brief thanks cause UE does rock. Block text selection rules mightily!

Jay
a lesser mummy
a lesser mummy
Posts: 59
Joined: Tue Jan 28, 2003 11:37 am

Post by Jay » Sat Mar 15, 2003 1:12 pm

If you don' use it, get it and try it for free. It has auto-syntax hightlighting for most EVERY language, over 560 languages supported. It author's "goal" is to have it open EVERY type of file. Great for HEX editing too btw.

Jay

ShangoDe
orc pawn
orc pawn
Posts: 27
Joined: Tue Jul 30, 2002 6:39 am
Location: Detroit where the weak are killed and eaten
Contact:

Dumb

Post by ShangoDe » Mon Mar 17, 2003 10:47 pm

Ok I DL'd UE and installed it but how do I use the code in this post in UE?

Not lazy just coding impared :oops:
Nothing beats teddy-fu! When you can snatch your teddy from your bed and leave no trace you will have learned!

Vertigo1
decaying skeleton
decaying skeleton
Posts: 5
Joined: Tue Dec 17, 2002 8:27 am

Post by Vertigo1 » Tue Mar 18, 2003 10:16 pm

Thanks for the post... Finally someone that USES Ultraedit.

Jay
a lesser mummy
a lesser mummy
Posts: 59
Joined: Tue Jan 28, 2003 11:37 am

Post by Jay » Fri May 16, 2003 4:21 pm

Can I get this as a sticky please? (yes this is a bump) =)

Jay

-- EDIT --

Thank you =)

Shin Noir
a ghoul
a ghoul
Posts: 90
Joined: Tue Aug 05, 2003 8:18 pm

Post by Shin Noir » Fri Aug 08, 2003 3:10 am

for the newbies to Ultra Edit like myself..

After installing the program link above, what you're going to need to do is add a new line to your Wordfile.txt file of your Ultra Edit directory. The directions to do this is:

[Start UltraEdit]
[Go to Advanced, Configuration...]
[Go to the Syntax Highlighting Tag]
[Browse the full path for the wordlist] Once this opens a browse window, right click the wordfile.txt, select Open. It should open the file in your default text editor. Scroll down to the bottom of this file and paste in the text from the top of this post. *NOTE* be sure that the ordered listing of /L is correct and the numbers don't skip. I noticed if that macroquest isn't the next one listed it may not list itself on the order. Example:

Code: Select all

/L9"JavaScript" Line Comment = // Block Comment On = /* Block Comment Off = */ File Extensions = JS
/Delimiters = ~!@%^&*()-+=|\/{}[]:;"'<> ,	.?
/Function String = "%[ ^t]++function^(*(*)^)"
is most likely the last /L listed on your file if you just did a clean install. When you paste the Macroquest listing in there, you may need to edit

Code: Select all

/L11"MacroQuest" Nocase Line Comment = | Block Comment On = |** Block Comment Off = **| String Chars = "' File Extensions = MAC 
/Delimiters = <>=~!@%^&()+{}[];"'     ,? 
The /L11 to /L10 to keep the numberation correct.

Once you finish this stop re-select the Wordfile.txt and check to see if Macroquest is on the combobox "Language" at the bottom. If it isn't, don't panic just yet. Exit out of the Advanced Config, re-enter it, and double check the combo box (I noticed I had an issue seeing it at first.)

Once it's on that combobox, you can associate your *.mac files to use Macroquest Syntax by going back into your [Advanced, Configuration] menu and going to your [File Types] Tab. Enter in *.MAC on the first line, then Macroquest in the second. [Insert] These two lines, press [OK] to exit out of the configuration, then try opening a Macroquest *.mac and see if it colorizes it.

Any questions just post.

User avatar
LordZen
Contributing Member
Contributing Member
Posts: 5
Joined: Thu Jun 19, 2003 10:42 am

Post by LordZen » Tue Aug 19, 2003 10:27 am

This Works great !

Thank You

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Sun Sep 07, 2003 9:54 am

Any chance of getting this up to date? Loads of new commands, etc. these days.
MQ2: Think of it as Evolution in action.

Jay
a lesser mummy
a lesser mummy
Posts: 59
Joined: Tue Jan 28, 2003 11:37 am

Post by Jay » Mon Sep 15, 2003 2:15 pm

I will update this when I get everything back in order on my computer. My computers got raped by a virus a couple months ago and I have not had time to really fix them because of a new job. =)

Jay

<I have not even played EQ for the last 3 months!>

User avatar
grimjack
Macro Author
Macro Author
Posts: 525
Joined: Thu Nov 07, 2002 6:51 am
Contact:

Post by grimjack » Wed Sep 24, 2003 7:12 am

This is what I use.

Code: Select all

/L10"MacroQuest" Nocase Line Comment = | Block Comment On = |** Block Comment Off = **| String Chars = "' File Extensions = MAC INC
/Delimiters = <>=~!@%^&()+{}[];"'     ,?
/C1"Pre-Processor"
#turbo
#define
#include
#event
#chat
/C2"MQ Commands"
// /alert /alias /beep
// /breakin
// /call /cast /cleanup /click /commands
// /delay /doability /doevents /doors /doortarget 
// /echo /end /endmacro
// /face /filter /finditem /for
// /goto
// /identify /if /items /itemtarget
// /listmacros
// /macro /mapfilter /mem /memspell /merchant /mouseto /mqlog /mqpause /msgbox
// /next /perl /press
// /return
// /sendkey /seterror /seterror /skills /spewfile
// /telnet
// /unload
// /varadd /varcalc /varset /varsub
// /where
// /zapvars
sub
/C3"Macro Keywords"
aa ability add alert all ammo any arms 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 gold gm ground guild 
h hands head heading headingto held hotkey hp hslider
id increased inv item 
left leggs level lfg light list loc 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 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 $cos $count $cursor 
$date $distance $door 
$find $freeinv 
$getlasterror $gm $ground $group 
$heading 
$id $if $instr $int $invpanel $item 
$lastcommand $lasttell $lcase $left 
$merchant $mid $mouse 
$pack $pack 
$rand $return $right $running 
$sin $spawn $spell $strlen
$t $tan $target $time 
$ucase 
$v 
$zone
/C5"User Vars"
** $
/C6"EQ Commands"
// /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 /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"
** : 
Thanks
GrimJack
When they come to me, they're in trouble, or they want some. I bust people out of prison, hunt down vampires, fight alien gods -- All the fun jobs people are too squeamish or too polite to do themselves.

Call me a mercenary. Call me an assassin. Call me a villain. I am all that and more.

My name's John Gaunt, but out on the streets of Cynosure, I am called...
GrimJack