I got a problem about creating again a new chat room for my bot after he got DC'ed. He doesn't create a new chat room when he got DC'ed.
Here's my macros.txt
automacro openchatroom {
map prontera
timeout 3600
call openchat
}
macro openchat {
do chat create "B>YGG 150k each" 2 0 pqowi
do sit
do bingbing
do bingbing
do bingbing
pause 1
do e omg
}
[Problem] Creating a Chatroom after my bot got DC'ed.
Moderator: Moderators
-
- Human
- Posts: 46
- Joined: 21 Apr 2012, 22:41
- Noob?: Yes
-
- Human
- Posts: 20
- Joined: 15 Dec 2009, 22:27
- Noob?: No
Re: [Problem] Creating a Chatroom after my bot got DC'ed.
why not re-attempt to create a chat room again and again
the code will detect if you are at prontera city, the code will re-attempt every 60 seconds however it does not make harm to your bot.
Code: Select all
automacro openchatroom {
location prontera
timeout 60
call {
do chat create "B>YGG 150k each" 2 0 pqowi
do sit
do bingbing
do bingbing
do bingbing
pause 1
do e omg
}
}