on *:SOCKREAD:spelling.*: { var %d, %link, %info sockread %d if (%d == $null) { return } if (

*entr*found for *.

iswm %d) { if ($gettok($gettok(%d,3,32),2,62) isnum) { msg %spell.chan " $+ $remove($sockname,spelling.) $+ " is spelled Correctly } elseif ($gettok($gettok(%d,3,32),2,62) == No) { if (

Did you mean *?

* iswm %d) if ($regex(%d,/Did\syou\smean\s\]*\>([^\<]*)\<\/a\>/)) msg %spell.chan " $+ $remove($sockname,spelling.) $+ " is spelled Incorrectly. Did you mean: $regml(1) $+ ? else { msg %spell.chan " $+ $remove($sockname,spelling.) $+ " is spelled Incorrectly. } } } }