you can use the new "varargs" technique to make the parameters optional and parse them like this:
Code:
void main(string... parameters)
{
...
// Parameters are optional. Depending on how the script is invoked,
// there may be a single string with space-separated keywords, or
// multiple strings. Whichever, turn into an array of keywords.
string[] params = parameters.join_strings(" ").split_string(" ");