You could try this. It vaguely works!
_command void myspell() name_info(','VSARG2_REQUIRES_EDITORCTL|VSARG2_READ_ONLY)
{
int ecol;
_str s1 = cur_word(ecol);
_str s2;
_str s3;
if (_spell_check(s3,s2,ecol,s1) != SPELL_NO_MORE_WORDS_RC) {
spell_check_word();
}
else
message(s1 :+ ' ' :+ 'spelling checked (sort of)');
}
Graeme