How to create some sort of non-intrusive output


I scripted a function with output to the console, but how do i create a command that runs the script and gives the output like a sort of popup.
Textmate has a nice sort of popup that doesn’t block the ui / user