Menu

Basic Example for EasyPlugin

skalaxcy

for Example : talk with EasyPlugin and accept deal

use EasyPlugin::Chat;
use EasyPlugin::main;
use EasyPlugin::Console;
use EasyPlugin::Auto;

sub main_chat {

if (msgChat("Hello Skalax",1)) {
    sendCommand("c HELLO SKALAX");
}

}

sub main_console {

if (msgConsole("finalized the",1) || msgConsole("Request and your",1)) {       
    sendCommand("deal");
}

}

sub main_auto {

}

return 1;


Related

Wiki: How to use EasyPlugin

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.