Jump to content

Featured Replies

Posted
comment_13283

Since many players asking for it, so here you go : 


ItemActionPacketListener.java : 

case #####:

			ClanChat clan = player.getCurrentClanChat();
			if (clan == null) {
				player.getPacketSender().sendMessage("You need to be in a clan to do this.");
				return;
				} else {
						player.performAnimation(new Animation(774, Priority.HIGH));
			player.getPacketSender().sendMessage("@cr2@ [@red@Dice@bla@][" + clan.getName() +"] <shad=16112652>"+player.getUsername()+"<shad=000000> has just rolled a <shad=16112652>" +Misc.getRandom(100)+ "<shad=000000>/100.");
							
		}
		break;

Dice [Clanchatname] Your user name and the rest of the message.


Looks like this : 
http://prnt.sc/f4vjgy

(UPloading the image soon)

  • 2 years later...
  • 1 year later...
  • 5 weeks later...
  • 9 months later...

Create an account or sign in to comment