$LOLPlace::Enabled = 1;
package LOLPlace
{
function serverCmdMessageSent(%client,%text)
{
if($LOLPlace::Enabled)
{
switch(getRandom(0,23))
{
case 0 : %word = "Ha!";
case 1 : %word = "That's funny!";
case 2 : %word = "Heh";
case 3 : %word = "I cut my self in my sleep.";
case 4 : %word = "lmao";
case 5 : %word = "rotflol";
case 6 : %word = "haha";
case 7 : %word = "lawl";
case 8 : %word = "hah";
case 9 : %word = "funny";
case 10 : %word = "I find that funny";
case 11 : %word = "I attempted to say \"lo<color:ffffff>l\", but my script stopped me!";
case 12 : %word = "*snort* haha";
case 13 : %word = "loooool";
case 14 : %word = "i laughed way to hard at that";
case 15 : %word = "i didn't even think that was funny";
case 16 : %word = "***";
case 17 : %word = "****";
case 18 : %word = "noob";
case 19 : %word = "i pity you";
case 20 : %word = "you think that was funny";
case 21 : %word = "I stopped laughing after the accident";
case 22 : %word = "you make me sad";
case 23 : %word = "ASDFASDFASDFASDFASDGSDEJAFSEB AGSEFJLASEFGAUOSCGASEFJBASEUG FAW";
}
%text = StrReplace(%text,"lol",%word);
%text = StrReplace(%text,"LOL",%word);
%text = StrReplace(%text,"Lol",%word);
%text = StrReplace(%text,"LOl",%word);
%text = StrReplace(%text,"lOl",%word);
%text = StrReplace(%text,"lOL",%word);
%text = StrReplace(%text,"loL",%word);
parent::serverCmdMessageSent(%client, %text);
}
else
{
parent::serverCmdMessageSent(%client, %text);
}
}
};
activatepackage(LOLPlace);
effective but horrible code