Script
Jump to navigation
Jump to search
script is a console command in all Template:Game name games since Template:Game name that have a
Squirrel implementation of VScript[confirm], namely these.
Description
It executes Squirrel code from the root table.
;) because the developer console considers semicolons as delimiters for commands.activator, caller or self. script ::activator <- Entities.FindByClassname(null, "player").Syntax
script <code>
Example
script printl( GetMapName() )
Should print the map name in the console in most games.