Jump to content
  • 0

Request manual antibot with this script


DJFUNK

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  115
  • Reputation:   4
  • Joined:  10/25/12
  • Last Seen:  

hi :D

please help me to modify this script to manually antibot for players

I can use this manually antibot with using the NPC or whisp to that NPC, :D

here:

// random passcode
mes "Enter Password:";
mes "^0000FF " + .@string$ + "^000000";
input .@input$;

if (.@input$ != .@string$) {
 mes "^FF0000 Wrong Pasword!.^000000";
} else {
 mes "^008000 Password Correct.^000000";
 close2;

S_GenerateRandStr:
// getarg(0) = type  Value is a bit field (1: lowercase, 2: numbers, 4: symbols, 8: UPPERCASE)
// getarg(1) = length
if (getarg(0) & 1) setarray .@chars$[getarraysize(.@chars$)], "a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z";
if (getarg(0) & 2) setarray .@chars$[getarraysize(.@chars$)], "1","2","3","4","5","6","7","8","9","0";
if (getarg(0) & 4) setarray .@chars$[getarraysize(.@chars$)], "!","@","#","$","%","^","&","*","(",")","<",">","?";
if (getarg(0) & 8) setarray .@chars$[getarraysize(.@chars$)], "A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z";

set .@length, getarg(1);
while (.@length) {
 set .@str$, .@str$ + .@chars$[rand(getarraysize(.@chars$))];
 set .@length, .@length -1;
}
return .@str$;
}

sorry for my english :(

someone help me :(

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...