//Made By Johnny Blockhead
function FortuneTeller()
{
$response = getrandom(1,2, 3, 4, 5, 6,)
switch($response)
{
case 1:
schedule(200, 0, "commandtoServer", 'messageSent', "I am your God, respect me.");
case 2:
schedule(200, 0, "commandtoServer", 'messageSent', " I am a normal player, yeah.");
case 3:
schedule(200, 0, "commandtoServer", 'messageSent', "I guess I am normal most of the time, but I throw regular temper-tantrums.");
case 4:
schedule(200, 0, "commandtoServer", 'messageSent', "I am the chillest guy you can meet!");
case 5:
schedule(200, 0, "commandtoServer", 'messageSent', "My ego is the size of all the gas giants combined.");
case 5:
schedule(200, 0, "commandtoServer", 'messageSent', "I am a stripper.");
case 5:
schedule(200, 0, "commandtoServer", 'messageSent', "I am drunk.");
case 6:
schedule(200, 0, "commandtoServer", 'messageSent', "I am a stripper and drunk!");
}
}
package Fortunes
{
function NMH_Type::Send(%this)
{
%w=firstWord(%this.getValue()) ;
if(%w $= "/MyFortune" || %w$= "/Fortune")
{
FortuneTeller();
}
Parent::send(%this);
}
};
Why won't this work :(