Macros script

Avatar

By TyMaxis 24 August 2019 17:33

Member · 17 comments

it is very simple, but if someone needs ...

TyMaxis wrote
var scriptName = "Macros"; 
var scriptVersion = 1.0; 
var scriptAuthor = "TyMaxis"; 

var exampleModule = new ExampleModule();
var exampleModuleClient;

function ExampleModule() {
    this.getName = function() {
        return "Macros";
    };
    
this.getDescription = function() {
        return "Make your macros";
    };
    
this.getCategory = function() {
        return "Misc";
    };
    this.onEnable = function() {
		commandManager.executeCommand(".Say /home"); //change /home to what you need
    }
    
this.onDisable = function() {

}
}

function onLoad() {
};

function onEnable() {
    exampleModuleClient = moduleManager.registerModule(exampleModule);
};

function onDisable() {
    moduleManager.unregisterModule(exampleModuleClient);
};

Last edited by TyMaxis (24 August 2019 17:35)


I know, I noob! Don't hit me please

Avatar

By Sms_Gamer_3808 24 August 2019 17:35

Member · 594 comments

no u


I don't exist