Quake II Quake II Help
Executing Quake II console commands via AppleScript

You can execute Quake II console commands with the "console" command while Quake II is running. The syntax for the "console" command is as follows:

console execute String

The following example will tell the appication "Quake II" to open the map "base3":

tell application "Quake II"
    console execute "map base3"
end tell

You have to separate each command with a semicolon if you want to execute several Quake II console commands with a single "console" line. For example:

tell application "Quake II"
    console execute "toggleconsole;quit"
end tell

Note that Quake II console commands are case sensitive and that the length of the "String" is restricted to 128 characters. Any character that exceeds this limit will be ignored.

 
Tell me more