Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

You are here: Big Brother Bot ForumAdd-OnsPlugins DiscussionPlugins by xlr8or (Moderator: Freelander)question about chat plugin
Pages: [1]   Go Down
  Print  
Author Topic: question about chat plugin  (Read 2081 times) Bookmark and Share
Newbie
*
Posts: 3
Offline Offline
« on: November 16, 2007, 03:32:30 PM »

i have recently installed b3 on my urban terror server and added chat its works great for what ppl type in but what i was wondering is it all possible to have select few wow activated commands show up as the bigtext command?


ive tried several different ways about it with no results.


im not to sure what to put it to let b3 to say  it in the bigtext.
Logged

[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #1 on: November 17, 2007, 02:14:48 AM »

I'm not sure what you mean. You have installed the chat-plugin that was made by walker? And you want to let B3 react in bigtext? All I can say is that when you want the chat plugin to respond in bigtext... every response will be bigtext, once your players figure that out you will have one big bigtext spammage! Lol. To realise that it would take some code altering in the plugin itself.

If you use PowerAdminUrt (its in the same package) you will be able to type stuff in bigtext by using the command: !pabigtext <your text here>
« Last Edit: November 17, 2007, 02:16:38 AM by xlr8or » Logged

Jr. Member
**
Posts: 23
Offline Offline
« Reply #2 on: November 17, 2007, 08:32:16 AM »

Nice to read it still works Smiley...
Logged
Newbie
*
Posts: 3
Offline Offline
« Reply #3 on: November 20, 2007, 11:44:23 AM »

thanks for the reply i tried changing the code to use !pabigtext but i still just announces it like normal with !pabigtext in the sentance




now looking at it i found this line
class ChatPlugin(b3.plugin.Plugin):
   _adminPlugin = None

now when i put either poweradminurt there or actualy list the directory to it i cant start bt get an erro. i dont know if i am doing something wrong or not still new to this
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #4 on: November 22, 2007, 08:32:18 AM »

It's not that simple. You can't just go in a plugin, change stuff and expect it to work.

This line is triggering the say event... not bigtext. You'd have to reconstruct this line:
Code:
self.console.say(message % { 'player' : event.client.name })
Logged

Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal