Starblaster100
2007-08-09 04:59:32
Well JAD gave me the idea for this thread with his "Get better at scripting" post.
Me and bebe started this game and it turned out to be very funny, so i thought it would be a great game to play with the community :) Its a great way to try out different scripting techniques, and see other people's as well. Think of this thread as a side quest to the SRL Scripting Pilgrimage!
How to Play:
Basically, everyone has to make a small script which ends up printing out the words "Hello World" into the debug box, and everyones script has to be different.
The script can be as long and complicated as you like as you like as long as it meets the 1 requirement (Printing "Hello World" lol)
You may only submit 1 entry, so as to give others the ability to post their own (Remember, there are over 25k members here!) Please don't edit your script after you have submitted it!
Please remember to surround your script in tags!
Examples:
The possibilities are endless lol. You have Repeat until, For to do, Labels, Arrays, Integers, Chars, forms, using delimiters, webpages, forwards, encrypt and decrypt, with do, while do, types… the list goes on and on! Be as creative as you can possibly be!!!
I'll post the basic ones to start us off:
[php]
Program StarsHelloWorld;
Procedure HelloWorld;
Begin
Writeln('Hello World');
end;
Begin
HelloWorld;
end;
[/php]
[php]
Program StarsHelloWorld;
Function HelloWorld: String;
Begin
Result := 'Hello World';
end;
Begin
Writeln(HelloWorld);
end;
[/php]
I ended up making a huge script which reversed a string of numbers, decrypted them, separated them by delimiters, added them to an array, rearranged them in order of size, added the chars together and eventually printed out the words "Hello World"
GO!