I just ran the very first script in Weapon M!
Attachment:
First-Script.png [ 13.77 KiB | Viewed 3424 times ]
I still need to create the GUI interface for the script system to show what scripts are loaded, etc., and create many, many more script events and methods. That will be incredibly tedious. But the foundation has been laid.
Code:
package mongoose;
import krum.weaponm.script.Script;
import krum.weaponm.script.ScriptException;
public class Hello extends Script {
@Override
public String getScriptName() {
return "Hello";
}
@Override
public boolean initScript() throws ScriptException {
printText("\033[1;31mHello, Universe!\r\n");
unloadSelf();
return true;
}
}