Welcome to Open Carnage

A resource for Halo 1 modding and tech, with unique means of rewarding individual content creation and support. Have a wander to see why we're worth the time! EST. 2012

Sign in to follow this  
Followers 0
Kavawuvi

Command Bot

The goal of making this was to get a slightly less annoying Carnage Bot using SAPP's new scripting system. What it does is it runs a random command from a list of commands set in its configuration.

Configuration is easy to set up. You can set a delay (in seconds). Then, you can set your commands. Be sure to use single quotes to surround the commands so you can use double quotes in the commands. Separate with commas, too. Use escape characters if you need a single quote ( \' ). You can then have it set to not repeat the last X number of commands.

Download (SAPP and Phasor): bot.lua

Old version (1.1.0)

NeX, JuliquE, Pfhunkie and 1 other like this

Share this post


Link to post
Share on other sites

Members of Open Carnage never see off-site ads.

I've fixed a couple bugs on this old script. It no longer executes a command upon reload, and it no longer requires players to be in-game to execute commands.

Edited by 002

Share this post


Link to post
Share on other sites

Works great, this! 'Preciate the script, and your updates.

 

Was wondering if it's possible to have it continue to make random selections, however, cycling through all the messages, before repeating any in the list.


b_350x20_C957F6A-000000-FFFFFF-750A0E.pn

b_350x20_C957F6A-000000-FFFFFF-750A0E.pn

b_350x20_C957F6A-000000-FFFFFF-750A0E.pn

Share this post


Link to post
Share on other sites

Was wondering if it's possible to have it continue to make random selections, however, cycling through all the messages, before repeating any in the list.

You should be able to accomplish this by setting "do_not_repeat_count" to one less than the number of messages you have.

JuliquE likes this

Share this post


Link to post
Share on other sites

You should be able to accomplish this by setting "do_not_repeat_count" to one less than the number of messages you have.

And there you have it.

 

Cheers, mate.

 


 

::EdiT::

 

Came back to report a problem, but it had to do with my wanting to use an em-dash.

 

I've since replaced any such instance with two hyphens, and your suggestion works just fine, now.

 

Thanks, again.

Edited by JuliquE

b_350x20_C957F6A-000000-FFFFFF-750A0E.pn

b_350x20_C957F6A-000000-FFFFFF-750A0E.pn

b_350x20_C957F6A-000000-FFFFFF-750A0E.pn

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.