What version of Quest are you using? I have 5.4.1, and when I put in a bare bones "Show a menu", I get in script:
ShowMenu ("This is a caption", list, true) {
}
I'm at a loss as to why you have that Logout in there. Would you be able to post the file? Did you ever enter the word "Logout" anywhere?
As far as the parameters go, the curly braces { } that follow the function params in the parentheses is a script that is actually passed as the fourth parameter. So you should only see three parameters within the parens, and then the script itself is the fourth. Normally, the script would have something in it.