That`s not possible, but using ! instead of ? is
In response to the original question :
Yes, it is possible to do a command like !settime 10 and the bot would perform a certain action after 10 minutes.
hint : Look for EVENT_Tick ( If I remember correctly )
-Rifle
OpenBot - Fri Nov 21, 2003 8:41 pm
Post subject:
Thanks Plody and Rilfe !!
But does anyone have an example where maybe I an learn from?
ExplodyThingy - Fri Nov 21, 2003 11:51 pm
Post subject:
ok, here:
command.cpp:
if(c->check("settime"))
{
countdown[0]=atoi(c->final);
}
spawn.cpp:
EVENT_Tick
{
for(int i=0;i<4;i++)
countdown[i]--;
if(!ountdown[0]
{
//Your stuff here.
}
}
Cyan~Fire - Sat Nov 22, 2003 1:30 pm
Post subject:
Here's the files the Explody was talking about:
http://www.mervbot.com/files/Tutorial.rar
If you have no experience with C++, tell me what you want it do do and I'll program it for you. It shouldn't be that hard.