Skip to content

Script For Adrenaline Doesnt Work

Featured Replies

looking for some help with this script : 
 

uses 
    Classes, SysUtils, SettingsModule;
//Feito por O AlquimistaNERD    
var
  charName: string;
  i: integer;
  SL: TStringList;
  spamDelay: integer;
  spamText: string;
  randomSymbolsCount: integer;


procedure OnFree;
begin
  SL.Free;
  print('Spam finished');
end;


procedure loadConfig;
var
  MySet: TSettings;
begin
  MySet.SetFile(Script.Path + 'SpamConfig.ini');
  spamDelay := MySet.Load('Params', 'Spam delay', 2999);  //Tempo de intervalo
  spamText := MySet.Load('Params', 'Spam text', 'Esvreva aqui!');  //Mensagem
  randomSymbolsCount := MySet.Load('Params', 'Random symbols count', 4);
  print('Spam delay: ' + IntToStr(spamDelay));
  print('Spam text: ' + spamText);
  print('Random symbols count: ' + IntToStr(randomSymbolsCount));
end;


function getRandomString(size: integer): string;
const
  alphabet = 'qwertyuiopasdfghjklzxcvbnm';
var
  i: integer;
begin
  Result := '';
  for i:=0 to size-1 do
  begin
    Result := Result + alphabet[Random(Length(alphabet)-1)];
  end;
end;


begin
  SL := TStringList.Create;
  loadConfig;
  while true do
  begin
    for i := 0 to CharList.count -1 do
    begin
      charName := CharList.Items(i).name;
      if (charName <> '') and (SL.IndexOf(charName) = -1) then
      begin
        SL.add(charName);
        if Engine.Say(spamText + ' ' + getRandomString(randomSymbolsCount), 2, charName) then
          print('Spammed to: ' + charName);
        
        delay(spamDelay);
      end else
        delay(100);
      end;
  end;
end.

Edited by MrPro*

  • Author

i edited a bit the code , found few mistakes but still doesnt work , code has been updated

Edited by MrPro*

uses 
    Classes, SysUtils;

const
  spamDelay: integer          = 1000;  //1second
  spamText: string            = 'just testing'; //text wich flood
  randomSymbolsCount: integer = 5;  //ramdom symbols

 
var
  charName: string;
  i: integer;
  SL: TStringList;

procedure OnFree;
begin
  SL.Free;
  print('Spam finished');
end;


function getRandomString(size: integer): string;
const
  alphabet = 'qwertyuiopasdfghjklzxcvbnm';
var
  i: integer;
begin
  Result := '';
  for i:=0 to size-1 do
  begin
    Result := Result + alphabet[Random(Length(alphabet)-1)];
  end;
end;


begin
  SL := TStringList.Create;
  while true do
  begin
    for i := 0 to CharList.count -1 do
    begin
      charName := CharList.Items(i).name;
      if (charName <> '') and (SL.IndexOf(charName) = -1) then
      begin
        SL.add(charName);
        if Engine.Say(spamText + ' ' + getRandomString(randomSymbolsCount), 2, charName) then
          print('Spammed to: ' + charName);
        
        delay(spamDelay);
      end else
        delay(100);
      end;
  end;
end.

just removed configs and added in const, what you need now edit const and have fun xd

ps. tested and works

gl hf

  • Author
uses 
    Classes, SysUtils;

const
  spamDelay: integer          = 1000;  //1second
  spamText: string            = 'just testing'; //text wich flood
  randomSymbolsCount: integer = 5;  //ramdom symbols

 
var
  charName: string;
  i: integer;
  SL: TStringList;

procedure OnFree;
begin
  SL.Free;
  print('Spam finished');
end;


function getRandomString(size: integer): string;
const
  alphabet = 'qwertyuiopasdfghjklzxcvbnm';
var
  i: integer;
begin
  Result := '';
  for i:=0 to size-1 do
  begin
    Result := Result + alphabet[Random(Length(alphabet)-1)];
  end;
end;


begin
  SL := TStringList.Create;
  while true do
  begin
    for i := 0 to CharList.count -1 do
    begin
      charName := CharList.Items(i).name;
      if (charName <> '') and (SL.IndexOf(charName) = -1) then
      begin
        SL.add(charName);
        if Engine.Say(spamText + ' ' + getRandomString(randomSymbolsCount), 2, charName) then
          print('Spammed to: ' + charName);
        
        delay(spamDelay);
      end else
        delay(100);
      end;
  end;
end.

just removed configs and added in const, what you need now edit const and have fun xd

ps. tested and works

gl hf

 

HUGE THANKS BRO !!!!! <3

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.