 |
hsfmudder Newbie
Joined: 19 Mar 2009 Posts: 4
|
Posted: Thu Mar 19, 2009 9:23 pm
Spellchecking Mud Output? |
So, I've been building for muds for several years and I'm also a fan of CMud. I love how I can spell-check on the command line in CMud, however one thing that would save me countless hours of work would be if the spell checker could be extended into the output window. Currently I log all my sessions (years and years worth of logs, yay) and open them up in an editor that can spell check and do it that way.
Does anyone know if this is possible? It's purpose would be to just highlight a word in the mud output that the dictionary doesn't recognize. If it's not currently possible, is it scriptable or a feature that wouldn't be difficult to add?
Thanks so much for y'alls help! |
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Mar 19, 2009 9:46 pm |
Hmm... it's not possible by zScript that I can think of - there's no way to load up the command-line with something you've received from the MUD. You might maybe be able to do it with a macro, but I wouldn't really recommend that route - I'd imagine you want to do this for very large chunks of text, and it'd probably end up more cumbersome than your current method.
I do wonder if there aren't spellchecking libraries for other languages, which you could then use in CMUD instead of zScript. It's worth investigating. |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Mar 20, 2009 4:43 pm |
Adding spellchecking functions to zScript is on the to-do list. Remember that the Editor window in CMUD has spellchecking (Window/Edit), and you can "capture" text into this window using the #CAPTURE command without specifying a window name.
So, in theory you could make a trigger that fired on every line from the MUD and then used #CAPTURE to send it to the editor window. It would slow down your MUD session, but it would give you a window displaying the MUD output with the spellchecking enabled. |
|
|
 |
hsfmudder Newbie
Joined: 19 Mar 2009 Posts: 4
|
Posted: Fri Mar 20, 2009 9:37 pm |
Thanks so much for the replies Zugg and Xianfu! That's one really nice thing about zuggsoft; extraordinary help whenever you need it.
I'm far from a scripting genius, although your line capture idea sounded intriguing. I think I'll just wait until it makes it from the wishlist into the feature list.
Thanks again! Very helpful.
My other question about spell checking I just answered for myself dealing with custom dictionaries. It looks like it's in my C:\Users\<USER NAME>\Documents\My Games\CMUD folder; a file with the extension *.ADU
Pretty nifty, populating that puppy right now with my own custom dictionary. Sweet! |
|
|
 |
|
|