[Problem] Creating a Chatroom after my bot got DC'ed.

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

PepsiCoke
Human
Human
Posts: 46
Joined: 21 Apr 2012, 22:41
Noob?: Yes

[Problem] Creating a Chatroom after my bot got DC'ed.

#1 Post by PepsiCoke »

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
}
daison3
Human
Human
Posts: 20
Joined: 15 Dec 2009, 22:27
Noob?: No

Re: [Problem] Creating a Chatroom after my bot got DC'ed.

#2 Post by daison3 »

why not re-attempt to create a chat room again and again

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
  }
}
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.