As the title says, currently, link() doesn't play well with queries. For example:
src << link("byond://?action=chat;text=hi")
Does not trigger the desired behavior, whereas:
src << browse("<a href='byond://?action=chat;text=hi'>hi</a>")
Will produce a window with a clickable link that triggers the desired behavior. Or:
client.Topic("",params2list("action=chat;text=babyboy"))
Will have the same effect, bypassing link() altogether.