All pastes #636983 Raw Edit

Untitled

public text v1 · immutable
#636983 ·published 2007-07-28 12:28 UTC
rendered paste body
import com.aresbot.methods.*;
import com.aresbot.script.*;
import com.aresbot.bot.Bot;

public class flag extends Script
{
	public String getName()
	{
		return "Flag checker by Maclof";
	}
	
	public boolean onStart() {
		log("Starting flag checker");
		return true;
	}
	
	public int loop() {
		if(getLoginIndex() == 30)
		{
			if(isFlagged()) log("You are flagged");
			else log("You are safe");
		}
		
		return 1000;
	}
	
    public flag(Bot b) {
        super(b);
    }
}