Server Help

Bot Questions - ?commands said by a bot

Doggeti - Tue Jan 14, 2003 7:17 am
Post subject: ?commands said by a bot
Is it possible to let the bot perform the '?commands'?

I tried !say ?away The bot is currently away. But not the bot said it but me. The chatline that appeared looked like this:

Doggeti>!say ?away The bot is currently away

What can I do to let the bot use these commands?
SOS - Tue Jan 14, 2003 9:10 am
Post subject:
Yes, bots can use server commands, but it is disabled in MERVBot for security reasons.
And ?away is not a real command(you just type it like a command), which is why it does not work with bots.
Mine GO BOOM - Tue Jan 14, 2003 9:58 am
Post subject:
A few things, such as ?away, ?ping, ?time, ?crown, ?flags, ?team, etc are local commands that Continuum does for you. So in other words, means you have to add it to your bot if you want it.
Doggeti - Tue Jan 14, 2003 11:00 am
Post subject:
I think I understand the problem but what are the server-commands continuum uses and which must be added to the bot?
SOS - Tue Jan 14, 2003 12:44 pm
Post subject:
Nothing must be added to support server commands, just the security block must be removed. Altough then anyone who can make the bot !say something can mess up the zone...
Doggeti - Wed Jan 15, 2003 5:36 am
Post subject:
Oh, thats no problem. For the next time I will be the only one to have control over the bot. So where can I turn off the security block?
SOS - Wed Jan 15, 2003 5:53 am
Post subject:
Well, you'll have to recompile the exe to do it. It should be in command.cpp, just find the entry for the !say command there and remove the checking for commands.
Doggeti - Wed Jan 15, 2003 11:15 am
Post subject:
icon_sad.gif Problem! I don't have a Compiler.
Dr Brain - Wed Jan 15, 2003 11:44 am
Post subject:
You can probably get Dev C++ to do it, as you arent doing a .dll.
SOS - Wed Jan 15, 2003 11:37 pm
Post subject:
Here.
Doggeti - Thu Jan 16, 2003 5:00 pm
Post subject:
Thank you very much. grav_cool-hands.gif I will test it out soon. new_multi.gif
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group