law and order
Active Member
- Joined
- Nov 20, 2008
- Sythe Gold
- 0
- Messages
- 142
Rules you should allways follow
The Scripts you will need
[AntiBan] AllAntiBan by WarXperiment
This script will move the screen move the mouse randomly around the screen like a real person look at peoples combat levels and it is intigrated into all scripts one of the best out there its high recomended. There is 2 version a slow and fast. The slow version offers more protection but will slow down your script a little the fast wont slow your script down but it wont be as much protection. I personally use the slow version.
Fast version
slow version
A chat responder
I Highly recomend this with a little tweeking you can get it to respond to allot of things
Thats all for now by the way ALL THESE SCRIPTS GO IN ANTI-BAN FOLDER also I will update as I find more anti ban scripts
- never auto for more then 12 hours a day on one acount
- never turn off anti bans
- never keep the auto clothes that all the other autoers use
- choose names that actual people would use not 4454532534
- make sure a script is working before you leave it and go afk
- make sure your anti ban is on
The Scripts you will need
[AntiBan] AllAntiBan by WarXperiment
This script will move the screen move the mouse randomly around the screen like a real person look at peoples combat levels and it is intigrated into all scripts one of the best out there its high recomended. There is 2 version a slow and fast. The slow version offers more protection but will slow down your script a little the fast wont slow your script down but it wont be as much protection. I personally use the slow version.
Fast version
Code:
import com.speljohan.rsbot.script.Random;
import com.speljohan.rsbot.bot.Bot;
import com.speljohan.rsbot.logging.Log;
import java.awt.event.*;
import javax.swing.*;
public class AllAntiBan extends Random {
int randomInt;
int GambleInt;
long lastCheck = 0;
long timer = System.currentTimeMillis();
int checkTime;
public String[] thingsToSayIdle = new String[] {
""};
public String getName() {
return "AllAntiBan";
}
public double getVersion() {
return 01;
}
public String getAuthor() {
return "WarXperiment";
}
private boolean timer(int seconds) {
return System.currentTimeMillis() * 1000 < seconds;
}
public Log getLog() {
if(LOG != null)
LOG = null;
return super.getLog();
}
public boolean activateCondition() {
randomInt = random(1, 100);
if (isLoggedIn() && randomInt == 50)
return true;
return random(0, 100) == 25;
}
public void turnCamera() {
char[] LR = new char[] { KeyEvent.VK_LEFT, KeyEvent.VK_RIGHT };
char[] UD = new char[] { KeyEvent.VK_DOWN, KeyEvent.VK_UP };
char[] LRUD = new char[] { KeyEvent.VK_LEFT, KeyEvent.VK_RIGHT,
KeyEvent.VK_UP, KeyEvent.VK_DOWN };
int random2 = random(0,2);
int random1 = random(0,2);
int random4 = random(0,4);
if(random(0,3) == 0) {
Bot.getInputManager().pressKey(LR[random1]);
try { Thread.sleep(random(100, 400)); } catch (Exception e) {}
Bot.getInputManager().pressKey(UD[random2]);
try { Thread.sleep(random(300, 600)); } catch (Exception e) {}
Bot.getInputManager().releaseKey(UD[random2]);
try { Thread.sleep(random(100, 400)); } catch (Exception e) {}
Bot.getInputManager().releaseKey(LR[random1]);
} else {
Bot.getInputManager().pressKey(LRUD[random4]);
if(random4>1) {
try { Thread.sleep(random(300, 600)); } catch (Exception e) {}
} else {
try { Thread.sleep(random(500, 900)); } catch (Exception e) {}
}
Bot.getInputManager().releaseKey(LRUD[random4]);
}
}
public int loop() {
GambleInt = random(1, 20);
if (GambleInt == 1) {
turnCamera();
}
if (GambleInt == 2) {
int xA = random(0, 750);
int yA = random(0, 500);
moveMouse(xA, yA);
turnCamera();
}
if (GambleInt == 3) {
if (getCurrentTab() != TAB_INVENTORY) {
openTab(TAB_INVENTORY);
turnCamera();
}
}
if (GambleInt == 4) {
clickCharacter(getNearestPlayerByLevel(1,130) , "Cancel");
return (random(500, 1750));
}
if ((System.currentTimeMillis() - lastCheck) >= checkTime) {
lastCheck = System.currentTimeMillis();
checkTime = random(300000, 600000);
turnCamera();
openTab(random(0, 13));
turnCamera();
}
if (GambleInt == 5) {
turnCamera();
int xA = random(0, 750);
int yA = random(0, 500);
moveMouse(xA, yA);
}
if (GambleInt == 6)
turnCamera();
if (GambleInt == 7)
openTab(random(0, 13));
if (GambleInt == 8)
moveMouse(random(0,450), random(0,450));
return -1;
}
}
slow version
Code:
import com.speljohan.rsbot.script.Random;
import com.speljohan.rsbot.bot.Bot;
import com.speljohan.rsbot.logging.Log;
import java.awt.event.*;
import javax.swing.*;
public class AllAntiBan extends Random {
int randomInt;
int GambleInt;
long lastCheck = 0;
long timer = System.currentTimeMillis();
int checkTime;
public String[] thingsToSayIdle = new String[] {
""};
public String getName() {
return "AllAntiBan";
}
public double getVersion() {
return 01;
}
public String getAuthor() {
return "WarXperiment";
}
private boolean timer(int seconds) {
return System.currentTimeMillis() * 1000 < seconds;
}
public Log getLog() {
if(LOG != null)
LOG = null;
return super.getLog();
}
public boolean activateCondition() {
randomInt = random(1, 12);
if (isLoggedIn() && randomInt == 5)
return true;
return random(0, 4) == 1;
}
public void turnCamera() {
char[] LR = new char[] { KeyEvent.VK_LEFT, KeyEvent.VK_RIGHT };
char[] UD = new char[] { KeyEvent.VK_DOWN, KeyEvent.VK_UP };
char[] LRUD = new char[] { KeyEvent.VK_LEFT, KeyEvent.VK_RIGHT,
KeyEvent.VK_UP, KeyEvent.VK_UP };
int random2 = random(0,2);
int random1 = random(0,2);
int random4 = random(0,4);
if(random(0,3) == 0) {
Bot.getInputManager().pressKey(LR[random1]);
try { Thread.sleep(random(100, 400)); } catch (Exception e) {}
Bot.getInputManager().pressKey(UD[random2]);
try { Thread.sleep(random(300, 600)); } catch (Exception e) {}
Bot.getInputManager().releaseKey(UD[random2]);
try { Thread.sleep(random(100, 400)); } catch (Exception e) {}
Bot.getInputManager().releaseKey(LR[random1]);
} else {
Bot.getInputManager().pressKey(LRUD[random4]);
if(random4>1) {
try { Thread.sleep(random(300, 600)); } catch (Exception e) {}
} else {
try { Thread.sleep(random(500, 900)); } catch (Exception e) {}
}
Bot.getInputManager().releaseKey(LRUD[random4]);
}
}
public int loop() {
GambleInt = random(1, 20);
if (GambleInt == 1) {
turnCamera();
}
if (GambleInt == 2) {
int xA = random(0, 750);
int yA = random(0, 500);
moveMouse(xA, yA);
turnCamera();
}
if (GambleInt == 3) {
if (getCurrentTab() != TAB_INVENTORY) {
openTab(TAB_INVENTORY);
turnCamera();
}
}
if (GambleInt == 4) {
clickCharacter(getNearestPlayerByLevel(1,130) , "Cancel");
return (random(500, 1750));
}
if ((System.currentTimeMillis() - lastCheck) >= checkTime) {
lastCheck = System.currentTimeMillis();
checkTime = random(300000, 600000);
turnCamera();
openTab(random(0, 13));
turnCamera();
}
if (GambleInt == 5) {
turnCamera();
int xA = random(0, 750);
int yA = random(0, 500);
moveMouse(xA, yA);
}
if (GambleInt == 6)
turnCamera();
if (GambleInt == 7)
openTab(random(0, 13));
if (GambleInt == 8)
moveMouse(random(0,450), random(0,450));
return -1;
}
}
A chat responder
I Highly recomend this with a little tweeking you can get it to respond to allot of things
Code:
import java.awt.*;
import java.awt.event.*;
import com.speljohan.rsbot.plugin.*;
import com.speljohan.rsbot.script.*;
import com.speljohan.rsbot.bot.*;
import com.speljohan.rsbot.script.wrappers.*;
import com.speljohan.rsbot.event.listeners.*;
import com.speljohan.rsbot.event.events.*;
import com.speljohan.rsbot.accessors.*;
import com.speljohan.rsbot.logging.*;
//Importing all the Script functions and Wrappers (Objects, NPC's, Characters)
public class ChatResponder extends Random {
long nextTalk = System.currentTimeMillis()+random(1800000,1800000*random(2,4));
long lastCheck = -1;//lets make it do a check at the start
String[] attackNames = {"Attack", "attack", "ATT", "Att", "att"};
String[] defenseNames = {"Defence", "defence", "Defense", "defense", "DEF", "Def", "def"};
String[] strengthNames = {"Strength", "strength", "STR", "Str", "str"};
String[] hitpointsNames = {"Hitpoints", "hitpoints", "HP", "Hp", "hp", "Hits", "hits"};
String[] rangeNames = {"Range", "range", "Ranged", "ranged"};
String[] prayerNames = {"Prayer", "prayer", "Pray", "pray"};
String[] magicNames = {"Magic", "magic", "Mage", "mage"};
String[] cookingNames = {"Cooking", "cooking", "Cook", "cook"};
String[] woodcuttingNames = {"Woodcutting", "woodcutting", "WC", "Wc", "wc"};
String[] fletchingNames = {"Fletching", "fletching", "Fletch", "fletch"};
String[] fishingNames = {"Fishing", "fishing", "Fish", "fish"};
String[] firemakingNames = {"Firemaking", "firemaking", "Firemake", "firemake", "FM", "Fm", "fm"};
String[] craftingNames = {"Crafting", "crafting", "Craft", "craft"};
String[] smithingNames = {"Smithing", "smithing", "Smith", "smith"};
String[] miningNames = {"Mining", "mining", "Mine", "mine"};
String[] herbloreNames = {"Herblore", "herblore", "Herb", "herb"};
String[] agilityNames = {"Agility", "agility", "Agil", "agil"};
String[] thievingNames = {"Thieving", "thieving", "Theif", "thief"};
String[] slayerNames = {"Slayer", "slayer", "Slay", "slay"};
String[] runecraftingNames = {"Runecrafting", "runecrafting", "Runecraft", "runecraft", "RC", "Rc", "rc"};
String[] farmingNames = {"Farming", "farming", "Farm", "farm"};
String[] hunterNames = {"Hunting", "hunting", "Hunter", "hunter"};
String[] constructionNames = {"Construction", "construction", "constructing", "constructing"};
String[] summoningNames = {"Summoning", "summoning", "Summon", "summon"};
public String statName(int stat) {
if(stat == STAT_ATTACK)
return pickRandomName(attackNames);
if(stat == STAT_DEFENSE)
return pickRandomName(defenseNames);
if(stat == STAT_STRENGTH)
return pickRandomName(strengthNames);
if(stat == STAT_HITPOINTS)
return pickRandomName(hitpointsNames);
if(stat == STAT_RANGE)
return pickRandomName(rangeNames);
if(stat == STAT_PRAYER)
return pickRandomName(prayerNames);
if(stat == STAT_MAGIC)
return pickRandomName(magicNames);
if(stat == STAT_COOKING)
return pickRandomName(cookingNames);
if(stat == STAT_WOODCUTTING)
return pickRandomName(woodcuttingNames);
if(stat == STAT_FLETCHING)
return pickRandomName(fletchingNames);
if(stat == STAT_FISHING)
return pickRandomName(fishingNames);
if(stat == STAT_FIREMAKING)
return pickRandomName(firemakingNames);
if(stat == STAT_CRAFTING)
return pickRandomName(craftingNames);
if(stat == STAT_SMITHING)
return pickRandomName(smithingNames);
if(stat == STAT_MINING)
return pickRandomName(miningNames);
if(stat == STAT_HERBLORE)
return pickRandomName(herbloreNames);
if(stat == STAT_AGILITY)
return pickRandomName(agilityNames);
if(stat == STAT_THIEVING)
return pickRandomName(thievingNames);
if(stat == STAT_SLAYER)
return pickRandomName(slayerNames);
if(stat == STAT_RUNECRAFTING)
return pickRandomName(runecraftingNames);
if(stat == STAT_FARMING)
return pickRandomName(farmingNames);
if(stat == STAT_HUNTER)
return pickRandomName(hunterNames);
if(stat == STAT_CONSTRUCTION)
return pickRandomName(constructionNames);
if(stat == STAT_SUMMONING)
return pickRandomName(summoningNames);
return null;
}
public void talk() {
long currentTime = System.currentTimeMillis();
long minutes = (currentTime-lastCheck)/(60000);
if(lastCheck == -1) {
for(int i=0;i<training.length;i++)
oldXP[i] = skills.getCurrentSkillExp(i);
}
if(minutes >= 1) {
lastCheck = System.currentTimeMillis();
for(int i=0;i<training.length;i++) {
if(oldXP[i] != skills.getCurrentSkillExp(i)) {
if(training[i] <= 5)
training[i]++;
} else {
training[i] = 0;
}
}
for(int i=0;i<training.length;i++)
oldXP[i] = skills.getCurrentSkillExp(i);
}
int biggest=-1;
int biggestNum = -1;
for(int i=0;i<training.length;i++) {
if(training[i] > biggest && training[i]>0) {
biggest = training[i];
biggestNum = i;
}
}
if(biggest > 0)
talk2(biggestNum);
}
public String xpToString(int level) {
String[] extraArray = {"","","","","","","","","","","","","","","","","","",
"","","","","","","","","","","","","","","","","","",
"","","","","","","","","","","","","","","","","","",
"","","","","","","","","","","","","","","","","","",
".",".",".",".",".",".",".",".",".",".",".",".",".",".",
".",".",".",".",".",".",".",".",".",".",".",".",".",".",
".",".",".",".",".",".",".",".",".",".",".",".",".",".",
". =\\", ".=\\", " =\\", "=\\", ". =O", ".=O", " =O", "=O",
". =)", ".=)", " =)", "=)", ". =]", ".=]", " =]", "=]",
". =P", ".=P", " =P", "=P", ". =D", ".=D", " =D", "=D",
};
int percent = skills.getPercentToNextLevel(level);
int xpTo = skills.getXPToNextLevel(level);
int skillLevel = skills.getCurrentSkillLevel(level);
String only = "";
String temp = "";
String[] toArray = {"to", "to", "to", "2", "till", "till", "until", "until"};
String to=toArray[random(0,toArray.length)];
String[] onlyArray = {"only", "just"};
if(percent < 20 && random(1,5) == 3) {
only=onlyArray[random(0,1)]+" ";
}
String k = "k";
String m = "m";
if(random(0,2) == 0) {
k="K";
m="M";
}
if(xpTo > 1000000)
temp = xpTo/1000000+m;
else if(xpTo > 1000)
temp = xpTo/1000+k;
else
temp = ""+xpTo;
String[] moreArray = {"to go", "more", "left", "To Go", "More", "Left"};
String more=moreArray[random(0,moreArray.length)];
String[] xpArray = {"xp", "XP", "Xp", "EXP", "Exp", "exp", "Experience", "experience"};
String xp=xpArray[random(0,xpArray.length)];
String[] levelArray = {"Lvl", "LVL", "lvl",
"Lev", "lev", "LV", "lv", "Lv", "Level", "level"};
String lvl = levelArray[random(0,levelArray.length)];
String[] talkArray = {only+temp+xp+" "+more+" "+to+" "+lvl+" "+skillLevel, only+temp+" "+statName(level)+" "+xp+" "+more+" "+to+" "+lvl+" "+skillLevel,
"i "+only+"need "+temp+" "+xp+" "+more+" "+to+" "+lvl+" "+skillLevel, "i "+only+"need "+temp+" "+statName(level)+" "+xp+" "+more+" "+to+" "+lvl+" "+skillLevel};
return talkArray[random(0,talkArray.length)]+extraArray[random(0,extraArray.length)];
}
public void hoverInterface(int iface, int child) {
hoverInterface(RSInterface.getChildInterface(iface, child));
}
public void hoverInterface(RSInterfaceChild i) {
if (!i.isValid()) return;
Rectangle pos = i.getArea();
moveMouse((int) random(pos.getMinX(), pos.getMaxX()), (int) random(pos.getMinY(), pos.getMaxY()));
}
public void talk2(int skill) {
if(nextTalk > System.currentTimeMillis())
return;
nextTalk = System.currentTimeMillis()+random(1800000,1800000*random(2,4));
if(getNearestPlayerDistance() >=5) //nobodys close enough to talk to.
return;
String[] extraArray = {"","","","?","?","?","."};
String extra=extraArray[random(0,extraArray.length)];
int gamble = random(1,3);
String stat = statName(skill);
int level = skills.getCurrentSkillLevel(skill);
String only = "";
String[] onlyArray = {"only", "just"};
if(level < 30 && random(1,5) == 3) {
only=onlyArray[random(0,1)]+" ";
}
String[] extraArray2 = {"","","","","","","","","","","","","","","","","","",
"","","","","","","","","","","","","","","","","","",
"","","","","","","","","","","","","","","","","","",
"","","","","","","","","","","","","","","","","","",
".",".",".",".",".",".",".",".",".",".",".",".",".",".",
".",".",".",".",".",".",".",".",".",".",".",".",".",".",
".",".",".",".",".",".",".",".",".",".",".",".",".",".",
". =\\", ".=\\", " =\\", "=\\", ". =O", ".=O", " =O", "=O",
". =)", ".=)", " =)", "=)", ". =]", ".=]", " =]", "=]",
". =P", ".=P", " =P", "=P", ". =D", ".=D", " =D", "=D",
};
String extra2=extraArray2[random(0,extraArray2.length)];
String[] levelArray = {"", "", "", "", "", "Lvl ", "LVL ", "lvl ",
"Lev ", "lev ", "LV ", "lv ", "Lv ", "Level ", "level "};
String lvl = levelArray[random(0,levelArray.length)];
String[] misc1 = {"What's your", "Whats your", "What is your", "What's Your", "Whats Your", "What Is Your"};
String[] echoMineArray = {"Mines is "+only+lvl+level, "Mine is "+only+lvl+level, "Mine is "+only+lvl+level, only+lvl+level+" here",
only+lvl+level+" over here"};
String echoMine = echoMineArray[random(0,echoMineArray.length)];
if(gamble == 1) {
sendText(misc1[random(0,misc1.length)]+" "+stat+" level"+extra,true);
wait(random(100,300));
if(random(0,21) != 20) //one in 20 chance it wont say your level back.
sendText(echoMine+extra2,true);
} else if(gamble == 2) {
int oldTab = getCurrentTab();
openTab(TAB_STATS);
wait(random(100,200));
hoverInterface(320,125+random(0,5));
wait(random(500,2000));
String text = xpToString(skill);
System.out.println("\n\n\n"+text+"\n\n\n");
sendText(text, true);
openTab(oldTab);
}
}
public String getName() { //Name of the Script
return "Chat Responder"; //between "" what will show up in RSBot script selector
}
public double getVersion() { //Version of the Script
return 3.1; //what will show up in RSBot script selector
}
public String getAuthor() { //Author of the Script
return "Mike"; //what will show up in RSBot script selector
}
public boolean onStart(String[] args) { //First thing run, when a Script is started (holds an array called "args" which contain the arguments put in by user in Script Selector
return true; //return true = Start Script; return false = Don't Start Script
}
public String getChildText(int iface, int child) {
return RSInterface.getInterface(iface).getChild(child).getText();
}
public String[] getChatMessages(boolean stripName) {
String[] temp = new String[100];
int tempi=0;
for(int i=155; i >= 56; i--)
if(getChildText(137,i).contains("<col=0000ff>")) {
if(stripName) {
temp[tempi] = getChildText(137,i).substring(getChildText(137,i).indexOf("<col=0000ff>")+12);
tempi++;
} else {
temp[tempi] = getChildText(137,i).replaceAll("<col=0000ff>", "");
tempi++;
}
}
return temp;
}
String oldChat = "";
String[] chat = new String[100];
String[] chat2 = new String[100];
int[] training = new int[STAT_SUMMONING];
int[] oldXP = new int[STAT_SUMMONING];
public boolean activateCondition() { //Main function of the Script
reply();
talk();
return false;
}
public void reply() {
chat = getChatMessages(true);
chat2 = getChatMessages(false);
if(chat[0] == null || oldChat.equalsIgnoreCase(chat2[0]))
return;
String temp=chat2[0];
String name = temp.substring(0,temp.indexOf(":"));
if(name.equalsIgnoreCase(getMyPlayer().getName()))
return;
if(replyToPlayer(chat[0])) {
log("ChatResponder has responded to:");
log(chat2[0]);
}
}
public int loop() {
return -1; //wtf? this shouldn't be called.
}
public String pickRandomName(String[] possible) { //it needs to USUALLY pick the first two.
if(random(0,5) == 3)
return possible[random(0,possible.length)];
else
return possible[random(0,1)];
}
public boolean replyToPlayer(String text) {
text=text.toLowerCase();
String reply="NO REPLY";
Boolean doPrefix = true;
int oldTab = -1;
if((text.contains("level") || text.contains("lv")) && (text.indexOf(" ") == text.lastIndexOf(" ") || text.startsWith("what") || text.endsWith("?") || text.endsWith("lv") || text.endsWith("lvl") || text.endsWith("lev") || text.endsWith("level"))) { //asking for a level
int whichSkill = -1;
String statName;
if(text.contains("att")) {
whichSkill = STAT_ATTACK;
statName=pickRandomName(attackNames);
} else if(text.contains("def")) {
whichSkill = STAT_DEFENSE;
statName=pickRandomName(defenseNames);
} else if(text.contains("str")) {
whichSkill = STAT_STRENGTH;
statName=pickRandomName(strengthNames);
} else if(text.contains("hp") || text.contains("hit")) {
whichSkill = STAT_HITPOINTS;
statName=pickRandomName(hitpointsNames);
} else if(text.contains("range")) {
whichSkill = STAT_RANGE;
statName=pickRandomName(rangeNames);
} else if(text.contains("pray")) {
whichSkill = STAT_PRAYER;
statName=pickRandomName(prayerNames);
} else if(text.contains("mag")) {
whichSkill = STAT_MAGIC;
statName=pickRandomName(magicNames);
} else if(text.contains("cook")) {
whichSkill = STAT_COOKING;
statName=pickRandomName(cookingNames);
} else if(text.contains("wc") || text.contains("woodcut")) {
whichSkill = STAT_WOODCUTTING;
statName=pickRandomName(woodcuttingNames);
} else if(text.contains("fletch")) {
whichSkill = STAT_FLETCHING;
statName=pickRandomName(fletchingNames);
} else if(text.contains("fish")) {
whichSkill = STAT_FISHING;
statName=pickRandomName(fishingNames);
} else if(text.contains("fm") || text.contains("fire")) {
whichSkill = STAT_FIREMAKING;
statName=pickRandomName(firemakingNames);
} else if(text.contains("craft")) {
whichSkill = STAT_CRAFTING;
statName=pickRandomName(craftingNames);
} else if(text.contains("smith")) {
whichSkill = STAT_SMITHING;
statName=pickRandomName(smithingNames);
} else if(text.contains("mining") || text.contains("mine")) {
whichSkill = STAT_MINING;
statName=pickRandomName(miningNames);
} else if(text.contains("herb")) {
whichSkill = STAT_HERBLORE;
statName=pickRandomName(herbloreNames);
} else if(text.contains("agil")) {
whichSkill = STAT_AGILITY;
statName=pickRandomName(agilityNames);
} else if(text.contains("thiev") || text.contains("theiv")) {
whichSkill = STAT_THIEVING;
statName=pickRandomName(thievingNames);
} else if(text.contains("slay")) {
whichSkill = STAT_SLAYER;
statName=pickRandomName(slayerNames);
} else if(text.contains("farm")) {
whichSkill = STAT_FARMING;
statName=pickRandomName(farmingNames);
} else if(text.contains("runecraft") || text.contains("rc")) {
whichSkill = STAT_RUNECRAFTING;
statName=pickRandomName(runecraftingNames);
} else if(text.contains("hunt")) {
whichSkill = STAT_HUNTER;
statName=pickRandomName(hunterNames);
} else if(text.contains("construct")) {
whichSkill = STAT_CONSTRUCTION;
statName=pickRandomName(constructionNames);
} else if(text.contains("summon")) {
whichSkill = STAT_SUMMONING;
statName=pickRandomName(summoningNames);
} else {
statName = "NO STAT!";
}
if(whichSkill != -1) {
oldTab=getCurrentTab();
openTab(TAB_STATS);
int gambleInt = random(1,4);
String[] extraArray = {"","","","","","","","","","","","","","","","","","",
"","","","","","","","","","","","","","","","","","",
"","","","","","","","","","","","","","","","","","",
"","","","","","","","","","","","","","","","","","",
".",".",".",".",".",".",".",".",".",".",".",".",".",".",
".",".",".",".",".",".",".",".",".",".",".",".",".",".",
".",".",".",".",".",".",".",".",".",".",".",".",".",".",
". =\\", ".=\\", " =\\", "=\\", ". =O", ".=O", " =O", "=O",
". =)", ".=)", " =)", "=)", ". =]", ".=]", " =]", "=]",
". =P", ".=P", " =P", "=P", ". =D", ".=D", " =D", "=D",
};
String extra=extraArray[random(0,extraArray.length)];
if(extra.contains("=") && random(1,3) == 1)
extra=extra.replaceAll("=", ":"); //transforms some happyfaces :D =D
String[] onlyArray = {"only", "just"};
String[] levelArray = {"Lvl", "LVL", "lvl", "Lev", "lev", "LV", "lv", "Lv", "Level", "level"};
String[] haveArray = {"have","have","have","have", "got", "Have", "Got"};
String misc="";
String only="";
String have=haveArray[random(0,haveArray.length)];
if(random(0,2) == 1 && statName.endsWith("ing")) {
statName = statName.substring(0,statName.length()-1); //will sometimes remove g at end (e.g mining to minin)
}
int skillLevel = skills.getCurrentSkillLevel(whichSkill);
if(skillLevel < 30 && random(1,5) == 3) {
only=onlyArray[random(0,1)]+" ";
}
misc+=levelArray[random(0,levelArray.length)];
if(misc.length() > 0)
misc = " "+misc;
if(gambleInt == 1) {
reply=""+skillLevel+extra;
} else if(gambleInt == 2) {
reply="My "+statName+misc+" is "+only+skillLevel+extra;
} else if(gambleInt == 3) {
reply="I "+only+"have "+skillLevel+" "+statName+extra;
}
}
}
if(reply=="NO REPLY") {
return false;
} else {
String prefix="";
wait(random(2000,3000));
if(random(1,6) == 2)
reply=reply.toLowerCase();
sendText(reply,true);
if(oldTab != -1) {
wait(random(10,100));
openTab(oldTab);
}
return true;
}
}
public String getScriptCategory() {
return "Mike's Scripts";
}
public int getNearestPlayerDistance() {
int Dist = 20;
RSPlayer closest = null;
int[] validPlayers = Bot.getClient().getPlayerIndexArray();
Player[] players = Bot.getClient().getPlayerArray();
for (int element : validPlayers) {
if (players[element] == null) {
continue;
}
RSPlayer player = new RSPlayer(players[element]);
try {
int distance = distanceTo(player);
if (distance < Dist) {
Dist = distance;
closest = player;
}
} catch (Exception e) {}
}
if(closest==null)
return 999;
return distanceTo(closest.getLocation());
}
}
Thats all for now by the way ALL THESE SCRIPTS GO IN ANTI-BAN FOLDER also I will update as I find more anti ban scripts





