If your curious as to how it could work, have a look at how server side validated webforms work
Chances are that the vast majority of users (and even scripters) aren't going to use this feature in their mIRC experience (for reasons mentioned above), so why not do exactly what you said in the quote; build a small webserver in mIRC.