I think you can do it with a form. It would be something like:
Code:
<form method="post" action="inlinemod.php?do=domovethread&threadids=TID">
<input type="hidden" name="destforumid" value="FID">
<input type="hidden" name="threadids" value="TID">
<input type="hidden" name="do" value="domovethreads">
</form>
where you'd want to set TID and FID to the threadid and forumid. The threadid would be a available as a variable depending on the template you're putting it in.
You also need to add an input type="submit" or else use some js to submit the form. You can probably make it a link if you want but I'm not really an html person so I don't know how to do it off he top of my head.