What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Auto roll plugin

benbenno1991

New Member
Joined
Nov 11, 2013
Messages
31
Reaction score
0
is there a plugin that just roll on everything ? i just need it to roll on stuff when someone picks something up
 
Code:
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;

namespace DefaultNameSpace{
   public class DefaultClass : Core
   {
       public void PluginRun()
       {
           SetGroupStatus("Accept Roll", true);
           while (true)
            {
                    try
                    {
                        BlockClientDice(true);
                        while (true)
                        {
                            foreach (var item in me.getDiceItems())
                            {       
                                item.Dice(GetGroupStatus("Accept Roll"));
                                
                            }
                            Thread.Sleep(1000);
                        }
                    }
                    finally
                    {
                        BlockClientDice(false);
                    }
            }
       }
       public void PluginStop()
       {            
           DelGroupStatus("Accept Roll");
       }
   }
}
 
Back
Top