here's a Java example that will detect if the user is using scar =) (compile that up your java)
import java.io.*;
public class checkSCAR {
public static void main(String[] args) {
new checkSCAR(args);
}
private checkSCAR(String[] args) {
lookforMrSCAR();
}
public void lookforMrSCAR() {
try {
InputStream stream = Runtime.getRuntime()[Caution: Executable File]c("tasklist").getInputStream();
BufferedReader in = new BufferedReader(new InputStreamReader(stream));
String s = null; while((s = in.readLine()) != null) {
if(s.indexOf("scar" + "." + "exe") == 0)
System.out.println("O SHT SCAR!");
}
System.out.println("NO SCAR :)! YOU ARE A PURIST!");
} catch(IOException e) { }
}
}
the reason why Jagex doesn't use such functions is because it is very much illegal to do this without consent of the user :/. Making an undeletable file would also be very illegal