Console Aliases

Alias Commands

Aliases are handy shortcuts for one or more command. You can define aliases ingame or in one of the scripts files (located in <OpenTTD installation>/scripts directory). Simply add an alias by typing "alias <whateveryouwant>". If the alias needs spaces, remember to enclose it in double-quotes. If your alias needs double-quotes, use single quotes as subsitution. Like this: alias echo " 'hallo b' %A". Aliases can use the arguments typed in after them.

There are a few predefined aliases ingame

clean_company

same as reset_company

company_password

same as company_pw

dir

same as ls

join

same as connect

new_game, new_map and newmap

same as newgame

rcon_password

same as rcon_pw

server_bind, server_bind_ip and server_ip_bind

same as server_ip

server_password

same as server_pw

Debug aliases [not available in release]

dbg_echo

echo %A; echo %B (shows concatenation of commands)

dbg_echo2

echo %!