0 Members and 1 Guest are viewing this topic.
//Player Cloner Script//Fight with your clones!const BOTFILE = 'bots/temp.bot'; CLONECHAT = true; procedure ActivateServer();beginif FileExists(BOTFILE) = false then WriteLn('[*] WARNING!!!! ' + BOTFILE + ' DOES NOT EXIST!');end;procedure OnPlayerSpeak(ID: Byte; Text: string);var username,data,ending: String; i: integer;beginif (CLONECHAT = true) and (Text <> '!clone') then begin for i:=1 to 32 do begin if (GetPlayerStat(i,'Active') = true) and (IDToName(i) = IDToName(ID)) then BotChat(i,Text); end; end; if Text = '!clone' then begin data := IDToName(ID); username := ReadINI(BOTFILE,'BOT','Name','*ERROR*'); ending := GetPiece(ReadFile(BOTFILE),username,1); WriteFile(BOTFILE,'[BOT]' + chr(13)+chr(10) + 'Name=' + data + ending); Command('/addbot' + GetPlayerStat(ID,'Team') + ' temp'); end;if Text = '!kickclones' then begin for i:=1 to 32 do begin if (GetPlayerStat(i,'Active') = true) and (IDToName(i) = IDToName(ID)) and (GetPlayerStat(ID,'Human') = false) then Command('/kick ' + inttostr(i)); end; end;end;
if FileExists(BOTFILE) = false then WriteLn('[*] WARNING!!!! ' + BOTFILE + ' DOES NOT EXIST!');
if not FileExists(BOTFILE) then ...
Fun mini-game with this would be making non-reg users Remote admin(for 0 ping) and make a bunch of clones of them and try to find which is the real one.
"Wheres Waldo" gamemode, lol
Quote from: UnknownSniper on August 28, 2008, 08:05:47 pmFun mini-game with this would be making non-reg users Remote admin(for 0 ping) and make a bunch of clones of them and try to find which is the real one. you only get 0 ping if you are actually hosting the server