Script Name: Zombie Match Switch (ZMS) v1.0b
Script Description: This script gives the admin the ability to switch a zombie match on/off. (Bots included in download)
Original Author(s): BRADEN
Core Version: 2.6.3
Code:
function OnCommand(ID: Byte; Text: string): boolean;
begin
//Zombie Match Switch (ZMS) BETA by Braden
if Text = '/zombie on' then begin
Command('/addbot Undead Scientist 1');
Command('/addbot Undead Scientist 2');
Command('/addbot Undead Scientist 3');
Command('/addbot Undead Scientist 4');
Command('/addbot Undead Scientist 5');
Command('/addbot Undead Scientist 6');
Command('/addbot Undead Scientist 7');
Command('/addbot Undead Scientist 8');
Command('/addbot Undead Scientist 9');
Command('/addbot Undead Scientist 10');
Command('/addbot Undead Scientist 11');
Command('/addbot Undead Scientist 12');
Command('/addbot Undead Scientist 13');
Command('/addbot Undead Scientist 14');
Command('/addbot Undead Scientist 15');
Command('/addbot Undead Scientist 16');
Command('/addbot Undead Scientist 17');
Command('/addbot Undead Scientist 18');
Command('/addbot Undead Scientist 19');
Command('/addbot Undead Scientist 20');
end;
if Text = '/zombie off' then begin
Command('/kick Undead Scientist');
end; //NOTE: This function will be called when an admin types a / command.
Result := false; // Return true if you want to ignore the command typed.
end;