botmimic icon indicating copy to clipboard operation
botmimic copied to clipboard

Global chat triggers?

Open moismailzai opened this issue 10 years ago • 2 comments

It would be useful to allow users on a server to select preset chat triggers to load a custom recording. For instance, a user could type !ct-bombsite-b-door-popflash and this would spawn a bot who would playback the requested recording.

moismailzai avatar Jul 21 '14 23:07 moismailzai

I think it's best if there'd be some command like sm_mimicrecord <name> [spawn new bot] [kick after replay] So you can just add some chat triggers using your prefered chat trigger plugin which calls the command like sm_mimicrecord ct-bombsite-b-door-popflash 1 1 which would add a new bot, let him playback the record and kick him afterwards

The interesting part here is how we should handle which bot to select for playback.

peace-maker avatar Jul 23 '14 22:07 peace-maker

Excellent point, this would add the utility without introducing a significant amount of new menu logic...

As for which bot to select, is it important? Is SM unable to report the name of the bot that is spawned by the plugin? If so, could a quick filter of "status" results before and after the spawn command identify the new bot?

moismailzai avatar Jul 23 '14 22:07 moismailzai