Script
		
		
		
		Jump to navigation
		Jump to search
		
script is a console command in all 
 Source games since 
 Left 4 Dead 2 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 name of the current map in the console in most games.