improved goafk command
LightningMS :: Server :: Suggestions
Page 1 of 1
improved goafk command
so yeah, this should work fine, and brings a little ease into going afk with added originality/personality:
so basically: @goafk <your message here>
- Code:
else if (splitted[0].equalsIgnoreCase("goafk")) {
if (splitted.length < 2) {
player.setChalkboard("I'm AFK~! Leave me a message/whisper! :)");
} else {
player.setChalkboard("AFK: " + StringUtil.joinStringFrom(splitted, 1).getBytes());
}
}
so basically: @goafk <your message here>
batoom- Posts : 40
Join date : 2011-04-10
Re: improved goafk command
oops, found an error; the ".getBytes())" should not be there.
batoom- Posts : 40
Join date : 2011-04-10
LightningMS :: Server :: Suggestions
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|