Auto relog when GM found
Moderator: Moderators
-
- Noob
- Posts: 7
- Joined: 17 Sep 2014, 03:35
- Noob?: Yes
Auto relog when GM found
The server I'm playing have a @whogm command, what I want to do is check every 20 minutes if there is a GM then logout and log-in again after 5 minutes. I'm really having a hard time on making this to work., Thanks hopefully someone can solve this
Re: Auto relog when GM found
What have you done about this?
"I'm really having a hard time on making this to work."
Tried something?
"I'm really having a hard time on making this to work."
Tried something?
Learn rules
-
- Noob
- Posts: 7
- Joined: 17 Sep 2014, 03:35
- Noob?: Yes
Re: Auto relog when GM found
SkylorD wrote:What have you done about this?
"I'm really having a hard time on making this to work."
Tried something?
ummm actually, I have'nt started it yet. Just trying to think on how then later I have realized that it will not work... But I know that this can be doable...
ok, I tried making one but I don't know if it will work fine. this is just me trying to make one xD
Code: Select all
automacro gmrelog {
do c @whogm
GM >= 1
call gmrelog2
timeout 2000
}
macro gmrelog2 {
do relog 1800
release gmrelog
}
Re: Auto relog when GM found
You have 2 main options and a lot others.
1st -Macros.txt
GM Checker Macro - every 60seconds and if the specified GMs are online the bot automatically disconnects
2nd - Config.txt
http://wiki.openkore.com/index.php/Category:Config.txt
Read about.
You need change to 1 :
And here the time to reconnect :
And pray to disconnect when GM is found.
But be careful with avoidGM_talk. You can't leave during a talk.
Next time, use the search.
1st -Macros.txt
GM Checker Macro - every 60seconds and if the specified GMs are online the bot automatically disconnects
2nd - Config.txt
Code: Select all
AvoidGM_talk
AvoidGM_near
AvoidGM_near inTown
AvoidGM_reconnect
Read about.
You need change to 1 :
Code: Select all
AvoidGM_talk 1
AvoidGM_near 1
AvoidGM_near inTown 1
Code: Select all
AvoidGM_reconnect
And pray to disconnect when GM is found.
But be careful with avoidGM_talk. You can't leave during a talk.
Next time, use the search.
Learn rules
-
- Noob
- Posts: 7
- Joined: 17 Sep 2014, 03:35
- Noob?: Yes
Re: Auto relog when GM found
SkylorD wrote:You have 2 main options and a lot others.
1st -Macros.txt
GM Checker Macro - every 60seconds and if the specified GMs are online the bot automatically disconnects
2nd - Config.txt
http://wiki.openkore.com/index.php/Category:Config.txtCode: Select all
AvoidGM_talk AvoidGM_near AvoidGM_near inTown AvoidGM_reconnect
Read about.
You need change to 1 :
And here the time to reconnect :Code: Select all
AvoidGM_talk 1 AvoidGM_near 1 AvoidGM_near inTown 1
Code: Select all
AvoidGM_reconnect
And pray to disconnect when GM is found.
But be careful with avoidGM_talk. You can't leave during a talk.
Next time, use the search.
I already know that... what I want is if I check if there is a GM it will automatically disconnect then relog after 10-15 minutes.
Re: Auto relog when GM found
There isn't a condition to check this. "GM >= 1"automacro gmrelog {
do c @whogm
GM >= 1
call gmrelog2
timeout 2000
}
macro gmrelog2 {
do relog 1800
release gmrelog
}
You need to create 2 automacros, one for type c @whogm and another to check the message.
Check this :
http://forums.openkore.com/viewtopic.php?f=33&t=11126
Here :
Change the do quit command to relog.automacro checkgm {
location not #savemap
call checkgm2
timeout 60
}
macro checkgm2 {
do c @whogm
}
automacro gmdetected {
console "1 GM found."
call {
do quit
}
}
http://wiki.openkore.com/index.php/Relog
http://wiki.openkore.com/index.php/Macro_plugin
http://wiki.openkore.com/index.php/Macr ... n#Syntax_3
Read about this.
Learn rules
-
- Noob
- Posts: 7
- Joined: 17 Sep 2014, 03:35
- Noob?: Yes
Re: Auto relog when GM found
Thanks for this., but can it check for every 15-20 minutes?SkylorD wrote:There isn't a condition to check this. "GM >= 1"automacro gmrelog {
do c @whogm
GM >= 1
call gmrelog2
timeout 2000
}
macro gmrelog2 {
do relog 1800
release gmrelog
}
You need to create 2 automacros, one for type c @whogm and another to check the message.
Check this :
http://forums.openkore.com/viewtopic.php?f=33&t=11126
Here :
Change the do quit command to relog.automacro checkgm {
location not #savemap
call checkgm2
timeout 60
}
macro checkgm2 {
do c @whogm
}
automacro gmdetected {
console "1 GM found."
call {
do quit
}
}
http://wiki.openkore.com/index.php/Relog
http://wiki.openkore.com/index.php/Macro_plugin
http://wiki.openkore.com/index.php/Macr ... n#Syntax_3
Read about this.
Re: Auto relog when GM found
timeout <n>
Waits at least for <n> seconds before this automacro can be triggered again.
May be used only once per automacro block.
Waits at least for <n> seconds before this automacro can be triggered again.
May be used only once per automacro block.
Learn rules
-
- Noob
- Posts: 7
- Joined: 17 Sep 2014, 03:35
- Noob?: Yes
Re: Auto relog when GM found
SkylorD wrote:timeout <n>
Waits at least for <n> seconds before this automacro can be triggered again.
May be used only once per automacro block.
Thanks Sky!