GM Checker Macro

Moderator: Moderators

Message
Author
Fauxie
Noob
Noob
Posts: 2
Joined: 15 Jun 2010, 13:34
Noob?: Yes

GM Checker Macro

#1 Post by Fauxie »

What it does:

Uses the @whogm command, available on eA servers, every 60seconds and if the specified GMs are online the bot automatically disconnects

Code: Select all

automacro checkgm {
	location not #savemap
	call checkgm2
	timeout 60
}

macro checkgm2 {
	do c @whogm
}

automacro gmdetected {
	console "1 GM found."
	call {
		do quit
	}
}
Edit: Did some minor editing making the code a LOT simpler, removes the unnecessary ai manual.