on *:SOCKREAD:spelling.*: { var %d, %link, %info sockread %d if (%d == $null) { return } 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. } } } }