Jump to content
Sign in to follow this  
sup nig

[REQ] PI Dicing Command

Recommended Posts

could someone please link one to me?

Share this post


Link to post
Share on other sites
[code] if(itemId == 15098) {

if (System.currentTimeMillis() - c.foodDelay >= 5000) {
if(c.clanId == -1) {
c.sendMessage("You need to be in a clan to do this.");
} else {
c.startAnimation(11900);
c.gfx0(2075);
Server.clanChat.messageToClan("<shad=15695415>"+c.playerName+" just rolled <shad=16112652>" +Misc.random(100)+ "<shad=15695415> on the percentile dice.", c.clanId);
c.foodDelay = System.currentTimeMillis();
}
}
}[/code]
Add it to your clickitem.java file.

Share this post


Link to post
Share on other sites
[url]http://www.runelocus.com/forums/showthread.php?74358-PI-Dice-command-as-requested[/url]

Share this post


Link to post
Share on other sites
Sign in to follow this  

×