[Include] LOLCode - Admittedly not the most useful release.
#1

Introduction

Background

"LOLCODE is an esoteric programming language inspired by the language expressed in examples of the lolcat Internet meme. The language was created in 2007 by Adam Lindsay, researcher at the Computing Department of Lancaster University.

The language is not clearly defined in terms of operator priorities and correct syntax, but several functioning interpreters and compilers already exist. One interpretation of the language has been proven Turing-complete."


Read more: http://en.wikipedia.org/wiki/LOLCODE

Proper introduction

I've written this with macros and have attempted to continue the meme-like syntax, but it doesn't conform completely to the LOLCODE standards according to Wikipedia.

Download

Download here: http://pastebin.com/ZHckCDqh

Code

Here's a short script written with the LOLCode include for Pawn:

pawn Код:
#include <a_samp>
#include <lolcode-2.0>

main() FURBALLCUMIN
    FAX("[debug] LOLCode 2.0 initialised.")OK
    SPACECATGOHOME
ITCAME

WWW OnGameModeInit() FURBALLCUMIN
    CATCOLLARS3D("I'm at the coordinates:\n30.0,40.0,50.0",0x008080FF,30.0,40.0,50.0,40.0,0);
   
    SPACECATGOHOME
ITCAME

WWW OnPlayerConnect(playerid) FURBALLCUMIN
    CANHAS szPlayerName[MAX_PLAYER_NAME]OK
    GetPlayerName(playerid, szPlayerName, MAX_PLAYER_NAME)OK
    if(!ISCATSAME(szPlayerName, "MaTrIx4057")) FURBALLCUMIN
        // u critic u mad
        UMAD(playerid)OK
    ITCAME
   
    if(!ISCATSAME(szPlayerName, "Max_Coldheart")) FURBALLCUMIN
        UEVENMADDER(playerid)OK
    ITCAME
   
    SENDCLIENTCATS(playerid, DATWHITECAT, "sup brew?")OK
ITCAME
Summary

The main aim of this is to promote usage of macros - and how effective they can be, this may be completely useless, but the usage of macros are completely under rated. Macros aren't just for undefining and redefining MAX_PLAYERS, they can play a huge part in your script.
Reply


Messages In This Thread
LOLCode - Admittedly not the most useful release. - by Calgon - 28.08.2010, 04:11
Re: LOLCode - Admittedly not the most useful release. - by Retardedwolf - 28.08.2010, 04:15
Re: LOLCode - Admittedly not the most useful release. - by General Abe - 28.08.2010, 05:00
Re: LOLCode - Admittedly not the most useful release. - by nuriel8833 - 28.08.2010, 05:52
Re: LOLCode - Admittedly not the most useful release. - by ev0lution - 28.08.2010, 06:02
Re: LOLCode - Admittedly not the most useful release. - by sekol - 28.08.2010, 06:12
Re: LOLCode - Admittedly not the most useful release. - by mr.snk - 28.08.2010, 06:28
Re: LOLCode - Admittedly not the most useful release. - by MrDeath537 - 28.08.2010, 07:04
Re: LOLCode - Admittedly not the most useful release. - by Gforcez1337 - 28.08.2010, 08:15
Re: LOLCode - Admittedly not the most useful release. - by jiggy89 - 28.08.2010, 08:28
Re: LOLCode - Admittedly not the most useful release. - by Calgon - 28.08.2010, 08:29
Re: LOLCode - Admittedly not the most useful release. - by ev0lution - 28.08.2010, 08:34
Re: LOLCode - Admittedly not the most useful release. - by WillyP - 28.08.2010, 08:34
Re: LOLCode - Admittedly not the most useful release. - by Norn - 28.08.2010, 08:37
Re: LOLCode - Admittedly not the most useful release. - by Calgon - 28.08.2010, 08:41
Re: LOLCode - Admittedly not the most useful release. - by kLx - 28.08.2010, 08:45
Re: LOLCode - Admittedly not the most useful release. - by Calgon - 28.08.2010, 08:46
Re: LOLCode - Admittedly not the most useful release. - by WillyP - 28.08.2010, 08:57
Re: LOLCode - Admittedly not the most useful release. - by FalconX - 20.08.2012, 22:08
Re: LOLCode - Admittedly not the most useful release. - by Marko Koprivanac - 10.11.2012, 13:46
Re: LOLCode - Admittedly not the most useful release. - by [HK]Ryder[AN] - 13.09.2013, 05:52
Re: LOLCode - Admittedly not the most useful release. - by Calgon - 04.05.2014, 18:02
Re: LOLCode - Admittedly not the most useful release. - by iRaiDeN - 04.05.2014, 18:56
Re: LOLCode - Admittedly not the most useful release. - by SkittlesAreFalling - 06.05.2014, 05:25
Re: LOLCode - Admittedly not the most useful release. - by Tamer T - 25.06.2014, 20:41
Re: LOLCode - Admittedly not the most useful release. - by AiRaLoKa - 26.06.2014, 13:24
Re: LOLCode - Admittedly not the most useful release. - by Kathleen - 26.06.2014, 15:27
Re: LOLCode - Admittedly not the most useful release. - by RedFusion - 26.06.2014, 22:48

Forum Jump:


Users browsing this thread: 2 Guest(s)