added BotLoader basics
[PHP-P10.git] / main.php
index 5dcf7d93b9dcd0843925f9ccfb6237bd7dcdda32..7cfe0fc1c2cadc79a0447359fe9113a0887ea1e1 100644 (file)
--- a/main.php
+++ b/main.php
@@ -27,6 +27,7 @@
  */
 require_once("Uplink/Uplink.class.php");
 require_once("ModCMD/ModCMD.class.php");
+require_once("BotLoader/BotLoader.class.php");
 
 //basicly here is nothing, yet :D
 $uplink = new Uplink();
@@ -38,6 +39,9 @@ $uplink->setEventHandler(ModCMD::getEventHandler());
 
 $uplink->initialize();
 
+$botloader = new BotLoader($uplink);
+$botloader->loadBots();
+
 while(true) {
        $uplink->loop();
 }