Blockland Forums > Modification Help
[Source Code] Grammar Code [UPDATES ON NEW POST]
Treynolds416:
This is really only a big ass check for a bunch of different things that might be a spelling mistake
Kalphiter:
--- Quote from: Lugnut1206 on May 11, 2012, 10:22:02 PM ---I bet you had fun dreaming those up ^
--- End quote ---
I tried to insert humor, the only legitimate use for "wat" that I could think of was in Dutch.
FFSO:
Gramamr Code?
elm:
--- Quote from: Brian Smithers on May 11, 2012, 09:59:58 PM ---commandToServer('MessageSent',simpleGrammar(%this.getValue()));
commandToSErver('stopTalking');
canvas.popDialog(newMessageHud);
NMH_Type.setValue("");
--- End quote ---
Instead, you can just do NMH_Type.setValue(%newGrammarMessage); and parent the code, instead of overwriting. Same for the team function.
I agree with Kalphiter though, there is no point in this..
Ipquarx:
I completely agree, this will only cause more misunderstandings, if you ACTUALLY want to make a grammar corrector, you will need to make a language processor.
Also
--- Quote from: Brian Smithers on May 11, 2012, 09:59:58 PM ---it teaches some horrid coding habits
--- End quote ---
--- Quote from: FFSO on May 11, 2012, 10:42:44 PM ---Gramamr Code?
--- End quote ---
I lol'd so hard