I think he wants it like how the sharks change if named "Cool Shark."
In which case you'd use this:
function BotName::onAdd(%this,%obj)
{
armor::onAdd(%this,%obj);
scheduleNoQuota(10,%obj,functionName,%obj);
}
function functionName(%obj)
{
if(isObject(%obj))
{
if(%obj.name $= "NAME")
{
//STUFF HERE
}
}
}
Exactly what I want, however I can't seem to get it to work and I don't know why. I mean, it works fine for the shark.
Surprise easter egg! (?)
Alligators can be infected with the zombie plague, being turned into ZOMBIE ALLIGATORS ',' Resident Evil has nothing on us
Haha, well I don't have a whole lot of control on the matter; unless there is a variable to toggle whether the bot can be infected or not. If there is then I would only turn zombification off for the skeletons, because zombie alligators sound awesome, lol.