Well, if you actually look and read through some of the scripts, you'll realise that the coloured letters will form - believe it or not - words! If you read this script line by line, you can actually get a good idea of what it is doing:
PHP Code:
//#CLIENTSIDE
function onPlayerChats() { // If the player says something
if(player.chat == ":)") { // If the player chat is ':)'
player.chat = ":("; // Set the player's chat to ':('
setTimer(.05); // Set a countdown timer of 0.05 seconds
}
}
function onTimeout() { // If the timer is "out"
temp.posx = random(0, 64); // Create a temporary random # in 0-64
temp.posy = random(0, 64); // Same as above
player.x = temp.posx; // Set the player's x position to the rand #
player.y = temp.posy; // Set the player's y position to the other #
setTimer(.05); // Create another countdown timer
}
So, really, it's not hard to see that it's not just coloured letters. It is comprehensible somewhat, but I can understand how it looks like hieroglyphs when you stick in things like & * / % +. Those are just arithmetic operators, and perform calculations. You just have to learn which is what (for example, + is add, * is multiply), and the same goes for the words used. There are many different words (I used the description 'word' for the sake of simplicity) that you can use to do different things, again you have to learn those.
I'm going to make a crude comparison and compare the brackets used to paragraphs, and these paragraphs can only be read if the word after the keyword 'function' is performed, (ie. onPlayerChats - if the player chats, onTimeout - if the timer runs out). Therefore the second 'paragraph' can only be read if the timer runs out in the script above.
The same way you have read it is the same way the game will interpret it ie. it will read it line by line like an essay and perform what the script is telling it to do.
Hopefully now, scripting doesn't seem as frightening as it did before, and maybe you'll give it a go, because it's quite fun.
You can script on Graal by first buying a gold subscription, and then you can get access to the Testbed Server Remote Control, which you can use to script with.