- Joined
- Apr 13, 2008
- Messages
- 298
- Reaction score
- 1
Surprisingly this wasn't made / released yet, I haven't seen it around and I was bored so I basically made it in 20 seconds....
Tested and works?
Edit : So apparantly it's been released, sorry I didn't know.
Also, I did not leech this off of a source, if anyone has realized it all the !___rate commands look the same...
Code:
} else if (splitted[0].equals("!petrate")) {
if (splitted.length > 1) {
int pet = Integer.parseInt(splitted[1]);
cserv.setPetExpRate(pet);
MaplePacket packet = MaplePacketCreator.serverNotice(6, "Pet EXP Rate has been changed to " + pet + "x");
ChannelServer.getInstance(c.getChannel()).broadcastPacket(packet);
} else {
mc.dropMessage("Syntax: !petrate <number>");
}
Tested and works?

Edit : So apparantly it's been released, sorry I didn't know.
Also, I did not leech this off of a source, if anyone has realized it all the !___rate commands look the same...