cleaning up IRCBridgeModule to allow for configuration from in-world,

chat relaying via private channels, and old IRCBridgeModule
behaviour. also cleaning up IRCBridgeModule's OpenSim.ini
configuration variable names (still supporting "old" variable
names). refactored IRCChatModule into IRCConnector and incorporating
watchdog from IRCBridgeModule into IRCConnector.

enabling ChatModule to be used as a super-class and utilizing it in
ConciergeModule.
This commit is contained in:
Dr Scofield
2008-10-20 17:31:54 +00:00
parent caf10245af
commit 72a388a7b6
8 changed files with 1131 additions and 922 deletions

View File

@@ -398,20 +398,21 @@ flush-on-error=true
;nick = OpenSimBotNameProbablyMakeThisShorter
;channel = #the_irc_channel_you_want_to_connect_to
;port = 6667
;; channel to listen for configuration updates
;commandchannel = 2777
;; 0 for no control messages, 2 for all control messages
;verbosity = 1
;; bridging connections
;; outchannel -- channel to send messages out to the IRC bridge
;; inchannel -- channel to receive message from the IRC bridge
;; channel to listen for configuration commands
;commands_enabled = false
;command_channel = 2777
;report_clients = true
;; relay private chat connections
;; relay_private_channels = true: will relay IRC chat from/to private in-world channels
;; relay_channel_out -- channel to send messages out to the IRC bridge
;; relay_channel_in -- channel to receive message from the IRC bridge
;; access_password -- simple security device
;inchannel = 2226
;outchannel = 2225
;relay_private_channels = false
;relay_channel_in = 2226
;relay_channel_out = 2225
;access_password = foobar
;fallback_region = name of "default" region
;;useworldcomm = true will send IRC chat over the inchannel, false (default) will broadcast to all agents in the region
;useworldcomm = true
;MSGformat fields : 0=botnick, 1=user, 2=region, 3=message
; must start with "PRIVMSG {0} : " or irc server will get upset
;for <bot>:<user in region> :<message>