Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
can i ask of something here? about controling bot in asia.
#2
Did i get you right? Do you want to continue with the hostcounter after restarting the bot? You don't want it to start at 1 again?

Depends on the version of the bot you have. On my bots i've written a command to set the hostcounter to whatever value i want to. But as far as i know there are also bots which have this functionality built-in.

This is the small command i've written:
Code:
//
// !HOSTCOUNTER
//
if( Command == "hc" || Command == "hostcounter" )
{
    if( Payload.empty( ) )
        QueueChatCommand( "HostCounter is [" + UTIL_ToString( m_GHost->m_HostCounter ) + "].", User, Whisper );
    else
    {
        m_GHost->m_HostCounter = UTIL_ToUInt32( Payload );
        QueueChatCommand( "HostCounter set to [" + UTIL_ToString( m_GHost->m_HostCounter ) + "].", User, Whisper );
    }
}
Reply


Messages In This Thread
Re: can i ask of something here? about controling bot in asia. - by Velocity2k - 2010-11-13, 11:24:01



Users browsing this thread: 1 Guest(s)