Ok so I was screwing around and tried to do this:
function test()
{
echo("MessageBoxOK("Hello","Hello World!");
}
test();
Your syntax is wrong. You have two opening parentheses but only one closing parentheses.
Also, you have an opening quotation mark in front of MessageBoxOk, but no closing one. Quotations are pretty important in torque, in that
function test()
{
echo("MessageBoxOK("Hello","Hello World!")");
}
test();
Will make the phrase
MessageBoxOK("Hello","Hello World!") appear in your console, but
function test()
{
MessageBoxOK("Hello","Hello World!");
}
test();
Should make test(); open the box you're looking for.
Also, echo is used to make your console say things, so you really shouldn't have it.