Jump to content

Recommended Posts

Hi,

I just added the possibility to execute code when starting the bot (code executed after connecting to the authentication server).

The file must be named 'autorun.cs' and be in the 'Plugins' folder. The static method 'Main.Autorun()' is called after compilation.

using System.Windows.Forms;

public class Main
{
    public static void Autorun()
    {
        MessageBox.Show("Hello World!");
    }
}

 

autorun.cs

Link to comment
https://wrobot.eu/forums/topic/15306-autorun-plugin/
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...