| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| IT'S ALIVE! https://mail.black-squirrel.com/viewtopic.php?f=15&t=33302 |
Page 1 of 1 |
| Author: | Mongoose [ Sun Jun 24, 2012 1:06 pm ] |
| Post subject: | IT'S ALIVE! |
I just ran the very first script in Weapon M! Attachment: First-Script.png [ 13.77 KiB | Viewed 3628 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; } } |
|
| Author: | Cruncher [ Sun Jun 24, 2012 10:09 pm ] |
| Post subject: | Re: IT'S ALIVE! |
Hehe.. very nice! |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|