Well that's because you still have syntax errors.
Lines 20 and 21 and 15.
You forgot to move the closing brace from line 15 to the end, line 20 you put in a extra set of brackets (i have no idea why) and forgot a semicolen, line 21 you have a few extra charachters, let me show you:
//"Alchemy's Personal Chatbot" made by Alchemy
//This is a "Medium" script level
//This script was created for "Alchemy"
$owner = "Alchemy";
package chatbot
{
function clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg)
{
parent::clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg);
if(%name $= $owner && %msg $= "Alchbot, Test Active")
{
commandToServer('messageSent',"[AlchBot]: Activity Test Succeed!");
}
else if(%name $= $owner && getWords(%msg, 0, 5) $= "Alchbot, generate a random number between" && getWord(%msg, 0, 7) $= "and" && getWordCount(%msg) == 8)
{
%a = 0;
%b = 0;
%c = getRandom(%a,%b);
commandToServer('messageSent',"[Alchbot]: The number returned was " @ %c);
}
}
};
activatePackage(Chatbot);
ninja: you forgot to put the getWord blocks i mentioned in earlier to get the values of %a and %b so that command won't work