Shouldn't it look like this?
/////////////////////////////////
/////////hydrobot v.1////////////
/////////////////////////////////
package EnterGame
{
function gameConnection::onClientEnterGame(%this)
{
parent::onClientEnterGame(%this);
messageClient(%this, '', "\c3Server is running Hydraulic's chatbot Mod Version 2.5");
}
};
activatepackage(EnterGame);
package woot
{
function servercmdmessagesent(%client,%message)
{
parent::serverCmdMessageSent(%client,%message);
if(strlwr(getSubStr(%message,0,2)) $= "hi")
{
messageall('',"\c3Hydrobot\c6: Hey there.");
}
//moved
}
};
activatepackage(woot);
package Hydrobot
{
function servercmdmessagesent(%client,%message)
{
parent::serverCmdMessageSent(%client,%message);
if(strlwr(getSubStr(%message,0,2)) $= "I hate hyrobot")
{
messageall('',"\c3Hydrobot\c6: I hate you more.");
}
//moved
}
};
activatepackage(Hydrobot);
This is somewhat of what I used for ElegectBot's coding. Its all in a pattern. And if you where trying to do your own coding on the "Hydrobot package", why reinvent the wheel?