Collaborama About Help Contact Anonymous [login] Source: site.view [edit] Function name: cmdlineRewrite Arguments: cmdline Description: Can perform cmdline rewriting. If rewrites commandline, returns new string, else returns nil. Page type: webl Render function: Module: site Page source: var res = cmdline; // Simple rewrite: change "http:..." to "goUrl: http://..." var newcmd = Str_ToLowerCase(cmdline); if Str_StartsWith(newcmd, "http:") then res = "goUrl: " + cmdline end; res;