PDA

View Full Version : [HOW]Add command - B3



songo
19th February 2013, 10:58
How make new command for b3 - saybold?

def cmd_saybold(self, data, client=None, cmd=None):
"""\
- saybold
"""

keyword = m.group(1)
client.message('^7Could not find spam message %s' % keyword)

This command no work...

EvoloZz
19th February 2013, 11:24
http://forum.bigbrotherbot.net/the-code-bin/converting-simple-modifications-into-plugins/

http://wiki.bigbrotherbot.net/customize:start

Earliboy
19th February 2013, 11:31
If you want !Saybold just install the poweradmin plugin for b3.
Theres included: Saybold force explode burn forcespec paset and much more.
Do not forget to also put the b3 gsc files into your mod and link them anywhere.

songo
19th February 2013, 11:35
When I write in console : /rcon saybold asfasf all work... How make command b3 !saybold text?

Earliboy
19th February 2013, 11:37
Just use the poweradmin plugin, all is included there. Just download it, install it or check how the saybold is build in there.

songo
19th February 2013, 12:16
I downlaod power admin mod and upload at server. /rcon b3_saybold text work. How add !saybold text ?

songo
23rd February 2013, 12:12
Refresh!!!

kung foo man
23rd February 2013, 12:50
Do normal b3-commands work already?

IzNoGoD
23rd February 2013, 15:40
Did you install a b3-side and a cod2-side poweradmin?

songo
25th February 2013, 14:08
Yes normal commands from b3 work. I install b3. How install cod2-side poweradmin?

EvoloZz
25th February 2013, 14:32
If /rcon b3_saybold works, it means you have installed cod2-side poweradmin, have you installed the B3 plugin itself? poweradmin.py