Page 1 of 1

UltraEdit Syntax WORDFILE

Posted: Fri Mar 14, 2003 2:31 am
by Jay
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

Posted: Fri Mar 14, 2003 7:18 am
by Mckorr
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....

Spanktacular

Posted: Fri Mar 14, 2003 12:26 pm
by Spanky_Monkey
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!

Posted: Sat Mar 15, 2003 1:12 pm
by Jay
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

Dumb

Posted: Mon Mar 17, 2003 10:47 pm
by ShangoDe
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:

Posted: Tue Mar 18, 2003 10:16 pm
by Vertigo1
Thanks for the post... Finally someone that USES Ultraedit.

Posted: Fri May 16, 2003 4:21 pm
by Jay
Can I get this as a sticky please? (yes this is a bump) =)

Jay

-- EDIT --

Thank you =)

Posted: Fri Aug 08, 2003 3:10 am
by Shin Noir
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.

Posted: Tue Aug 19, 2003 10:27 am
by LordZen
This Works great !

Thank You

Posted: Sun Sep 07, 2003 9:54 am
by Mckorr
Any chance of getting this up to date? Loads of new commands, etc. these days.

Posted: Mon Sep 15, 2003 2:15 pm
by Jay
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!>

Posted: Wed Sep 24, 2003 7:12 am
by grimjack
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