In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

You are here: Big Brother Bot ForumSupport ForumsGeneral Usage Support (Moderator: MordyT)Syntax to send notice automatically
Pages: [1]   Go Down
  Print  
Author Topic: Syntax to send notice automatically  (Read 197 times) Bookmark and Share
Sr. Member
****
OS: Windows
Type: Renting Server with B3
Gameservers: CoD5
Posts: 251
Offline Offline
« on: January 16, 2012, 01:36:31 AM »

Can someone help me ??

I would like to store a notice automatically in the database.

I suppose that the syntax is something like this..

client.notice(....)

But i don't know exactly put isntead of ....
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #1 on: January 16, 2012, 05:09:46 AM »

notice messages are already stored in database in the penalty table
Logged

Sr. Member
****
OS: Windows
Type: Renting Server with B3
Gameservers: CoD5
Posts: 251
Offline Offline
« Reply #2 on: January 16, 2012, 06:17:04 AM »

yes i know that...

but i wanted to store a notice in a plugin...
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #3 on: January 16, 2012, 07:13:04 AM »

basic usage : http://wiki.bigbrotherbot.net/customize:plugin_sdk:tutorial1#other_types_of_interaction_with_players

you can also specify which admin is making the notice :

someplayer.notice("blah", admin=theadmin)
with 'theadmin' being a Client object
Logged

Sr. Member
****
OS: Windows
Type: Renting Server with B3
Gameservers: CoD5
Posts: 251
Offline Offline
« Reply #4 on: January 16, 2012, 08:18:14 AM »

Thanks a lot...
That's what i was looking for...
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal