Author Topic: Zombie Match Switch v1.0b  (Read 1947 times)

0 Members and 1 Guest are viewing this topic.

Offline BRADEN

  • Camper
  • ***
  • Posts: 319
Zombie Match Switch v1.0b
« on: June 07, 2008, 05:28:14 pm »
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:

Code: [Select]
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;

Death is the solution to all problems. No man; no problem.
-Joseph Stalin

Offline ZomgProniss

  • Camper
  • ***
  • Posts: 318
  • Known ingame as Proniss
Re: Zombie Match Switch v1.0b
« Reply #1 on: June 08, 2008, 01:22:40 am »
so like........can u give a better desciption plox

Offline BRADEN

  • Camper
  • ***
  • Posts: 319
Re: Zombie Match Switch v1.0b
« Reply #2 on: June 08, 2008, 02:25:54 am »
Nothing, that's all there is to it.

Death is the solution to all problems. No man; no problem.
-Joseph Stalin

Offline Mr

  • Inactive Soldat Developer
  • Soldier
  • ******
  • Posts: 166
Re: Zombie Match Switch v1.0b
« Reply #3 on: June 08, 2008, 11:00:14 am »
Hmm, this script is a 5-Minute-Hello-World. Just repeat /zombie on and your server is flooded by zombies. You can add the same bot (file) multiple times, so you don't need more than one botfile. Whatever :P

Offline BRADEN

  • Camper
  • ***
  • Posts: 319
Re: Zombie Match Switch v1.0b
« Reply #4 on: June 08, 2008, 11:20:45 am »
Well, it's not meant to be a ground breaking script.

Death is the solution to all problems. No man; no problem.
-Joseph Stalin