Skip to content

RuneStar/cs1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cs1

Discord

View scripts

ClientScript1 (cs1) is a simple client-side scripting language used in Old School RuneScape to dynamically update interfaces. Used primarily until late 2006 when it was superseded by ClientScript2 (cs2). Most content was migrated to cs2 but some remains as cs1. The real source code syntax is unknown. Compiles to a custom bytecode format and is interpreted by the client.

Each interface component can optionally have an associated script. Every time the component is drawn the script is executed and either true or false is returned. Depending on the result the component is able to alternate between two states.