Use this online service to convert from GScript 2 source code to GScript 3.0 source code. You can also directly check syntax of your scripts.
NEW - Add //#CLIENTSIDE to test both server-side and client-side conversion.

GScript code