chat gem added
This commit is contained in:
parent
9b8791a468
commit
ef9f37e12f
|
@ -274,6 +274,18 @@ public class TheGame implements StatemachineListener, GuiEventListener, IRCEvent
|
|||
disco();
|
||||
} else if(message.startsWith("disco stop")) {
|
||||
discoStop();
|
||||
} else if(message.startsWith("gem activate")) {
|
||||
java.util.Random random = new java.util.Random();
|
||||
int scry = random.nextInt(100);
|
||||
if (scry >= 98) {
|
||||
ircClient.say("Perfect Gem Activated");
|
||||
} else if (scry >= 90) {
|
||||
ircClient.say("Moooooooo!");
|
||||
} else {
|
||||
ircClient.say("Gem Activated");
|
||||
}
|
||||
} else if(message.startsWith("gem deactivate")) {
|
||||
ircClient.say("Gem Deactivated");
|
||||
} else {
|
||||
ircClient.say("y u no use valid command?");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue