Power Bot Chat
1 Attachment(s)
Hello,
I've finished this maybe a month ago and its created some funny situations on my server Module required: Regex This plugin replaces the canned chat that comes with bots with anything you want. You can also talk to players thru bots with amx_botsay (wth that bot smarttt lol) documentation: There are key phrases that will make a bot respond with 1 out of 10(default maximum) combacks. These key phrases can be regular expressions ~~~file structure~~~ (powerbotchat.ini file is created for you) in configs/powerbotsay.ini, the format is as follows: regex line comeback line 1 comeback line 2 etc.. up to 10(default) <----this is a blank line regex line, with blank line above comeback line 1 comeback line 2 etc.. until EOF or MAX_LINES regex lines I'd like to thank Hawk and the AMX Super coders because I learned from viewing their code. The silly var/func names are my idea. |
Re: Power Bot Chat
cool :)
|
Re: Power Bot Chat
Pretty weird function and var names
|
Re: Power Bot Chat
So with this I can do something like
amx_botsay Stone Bla And the bot called Stone will say Bla? |
Re: Power Bot Chat
Lol at the code. :D
|
Re: Power Bot Chat
Quote:
Yes amx_botsay Stone "I just got back from the toilet" works for any player marked as bot:up: |
Re: Power Bot Chat
Funny. I will try it.
|
Re: Power Bot Chat
I thought you could replace their chat anyway ...
Either way, being able to speak through bots is freaking sweet. EDIT: Just FYI, muliple "write_file"'s are vastly less efficient than making a huge array (with {10,13}'s for EOL or w/e ) and writing that. |
Re: Power Bot Chat
I just had to post this, Coors is the bot I am speaking thru
------------------------------- *DEAD*Shrugs : hacks [DeathTV] Sid 6.7 : surf? *DEAD*Shrugs : see hacks the bots hack *DEAD*Coors : I do not hack Coors : I do not hack Shrugs : lol Shrugs : stfu Coors : y dont u Coors : ahahaha *DEAD*Shrugs : lol *DEAD*Shrugs : this is nuts Coors : ill get you *DEAD*SHugaR : eeee Coors : owned Shrugs : your bots are mouthing off [DeathTV] Sid 6.7 : sorry. Shrugs : lol Shrugs : its cool stuff Coors : shrugs u die Coors : cool stuff in your mouth Shrugs : suck it Shrugs : a Coors : come get me Coors : noob SHugaR : isnt coors immature Shrugs : hacker Coors : ahahaha Coors : yes, report me to sid, lol Shrugs : lol Shrugs : i will Shrugs : demo Coors : do it SHugaR : shingles killed me Coors : my teamm8 sucks Shrugs : lol *DEAD*SHugaR : coors *DEAD*Coors : sup SHugaR : coors isnt shrugs a boob np im jk SHugaR : watup darling Coors : lets date shugar Shrugs : coors is cool SHugaR : yo free friday night coors *DEAD*Coors : i need a hot date your it SHugaR : coors wanna make out Coors : bring the beer *DEAD*Shrugs : lol Coors : die sid *DEAD*SHugaR : coors wanna make out\ *DEAD*SHugaR : ahaha *DEAD*Shrugs : dude you have gay bots SHugaR : coors wanna makeput Coors : chipmunk Coors : why do i even play here [DeathTV] Sid 6.7 : lol not my fault |
Re: Power Bot Chat
This works with CZ bots too?
EDIT: If this is a yes; If I added a tag to the bot's names (eg. just [BOT]) and I executed amx_botsay BOT Lol Then all the bots would say Lol? |
All times are GMT -4. The time now is 10:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.