Hi pek
Check out xmessage. It's part of Xorg-7.7-bin.tcz. Example:
tc@E310:~$ xmessage -buttons Yes:1,No:2,Maybe:3 -print -center "Hello, World!"
Maybe
tc@E310:~$ echo $?
3
tc@E310:~$
This tells xmessage to create a popup with 3 buttons, Yes, No, and Maybe.
The numbers are the exit code you want for each button. The exit code can be found in $?
The -print option tells it to print the name of the button selected.
The -center option tells it to place the popup in the center of the screen.
Just entering xmessage produces a help screen.