Difference between revisions of "IRC.php"

From Bebot Wiki 2
Jump to navigationJump to search
 
(10 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
<sub>
 
<sub>
 
Note:\\
 
Note:\\
  - Relaying between guilds via IRC is depreciated. Please use the relay feature of the bot.
+
  - Relaying between guilds via IRC is deprecated. Please use the relay feature of the bot.
 
</sub>
 
</sub>
  
Line 35: Line 35:
 
==== Related commands ====
 
==== Related commands ====
  
  * **!related command** - How is this command related?
+
!irc connect : connect to IRC
 +
 
 +
!irc disconnect : disconnect from IRC
 +
 
 +
!irconline : check who's online IRC side
  
  
 
===== Module settings =====
 
===== Module settings =====
<pre>
 
^Setting      ^Default  ^Description                                              ^
 
|Setting_one  |SomeValue |Now tell me what does this setting do?                  |
 
</pre>
 
  
<sub>
+
Announce:
Notes to table:\\
+
Description: Should we announce logons and logoffs as controlled by the Logon module to IRC?
  - Things to observe when reading the table
+
 
</sub>
+
AnnounceTo:
 +
Description: Where should joins and leaves to the IRC channel be announced to?
 +
 
 +
AnnounceWhat:
 +
Description: Which events should be announced to IRC? None, only buddies logging on, only joins to the chatgroup or both?
 +
 
 +
Channel:
 +
Description: Which IRC channel should be used?
 +
 
 +
ChannelKey:
 +
Description: What is the IRC channel key if any?
 +
 
 +
Chat:
 +
Description: Which channels should be relayed into IRC and vice versa?
 +
 
 +
GuildPrefix:
 +
Description: Which prefix should IRC chat relayed to ingame chat get?
 +
 
 +
ignoreSyntax:  
 +
Description: Is there a first letter that should make the bot ignore messages for IRC relay (leave empty if none) ?
 +
 
 +
IrcGuestPrefix:
 +
Description: Which prefix should ingame chat in the chat group of the bot relayed to IRC get?
 +
 
 +
IrcGuildPrefix:
 +
Description: Which prefix should ingame guild chat relayed to IRC get?
 +
 
 +
ItemRef:
 +
Description: Should AOItems or AUNO be used for links in item refs?
 +
 
 +
IncLog/OutLog:
 +
Description: options to activate or desactivate relay logging.
 +
 
 +
MaxRelaySize:
 +
Description: What's the maximum amount of characters relayed to IRC?
 +
 
 +
Nick:
 +
Description: Which nick should the bot use in IRC?
 +
 
 +
NotifyOnDrop:
 +
Description: Should the chat be notified if something isn't relayed because it's too large?
 +
 
 +
OAuthTok:
 +
Description: What OAuth Token, if needed to connect (otherwise leave empty)?
 +
 
 +
Port:
 +
Description: Which port is used to connect to the IRC server?
 +
 
 +
PrivRelay:
 +
Description: Should the bot be relaying private join/leave to Irc ?
 +
 
 +
Reconnect:
 +
Description: Should the bot automatically reconnect to IRC?
  
===== Module colors =====
+
Server:
<pre>
+
Description: Which IRC server is used?
^Scheme name  ^Default  ^
 
|name_of_scheme|colorname |
 
</pre>
 
  
 
===== Notes =====
 
===== Notes =====
  
 
   * With recent patches, Bebot is now able to connect to IRC specific services like Twitch (server irc.chat.twitch.tv / port 6667) using an OAuth Token created via https://twitchapps.com/tmi/
 
   * With recent patches, Bebot is now able to connect to IRC specific services like Twitch (server irc.chat.twitch.tv / port 6667) using an OAuth Token created via https://twitchapps.com/tmi/
 +
 +
Please note some modules have extended options to relay towards Irc.
 +
 +
Irc side commands available are : help, tara, viza, is, online/sm, whois, alts, level/lvl/pvp

Latest revision as of 20:46, 25 March 2024

IRC.php (incomplete)[edit]

Description[edit]

This module allows the bot to connect to and interact with members on an Internet Relay Chat channel.


Features[edit]

 * Shows guild-chat and (optionally) pg-chat in the IRC-channel
 * Shows IRC-chat in guild-chat and (optionally) in pg-chat.

Note:\\

- Relaying between guilds via IRC is deprecated. Please use the relay feature of the bot.


Commands provided[edit]
^Command  ^ Keyword   ^Argument(s)   ^Description                                                             ^Tell      ^Guild     ^Priv      ^
|!irc     | server    | <servername> |Selects the irc server <servername> as the one the bot will connect to. |Owner     |Owner     |Owner     |
|!irc     | port      | <portnumber> |Chooses the port that will be used to connect to the irc server         |Owner     |Owner     |Owner     |
|!irc     | channel   |#<channelname>|Selects the channel the bot will use when connected.                    |Owner     |Owner     |Owner     |
|!irc     | channelkey| <password>   |Uses <password> to connect to a locked channel.                         |Owner     |Owner     |Owner     |
|!irc     | nick      | <nickname>   |Changes the bot's name to <nickname>                                    |Owner     |Owner     |Owner     |
|!irc     | oauthtok      | <oauth:xyz123> |Sets the OAuth Token the bot will use to connect to server        |Owner     |Owner     |Owner     |

Notes to table:\\

- When specifying the channel the # is NOT OPTIONAL.

Related commands[edit]

!irc connect : connect to IRC

!irc disconnect : disconnect from IRC

!irconline : check who's online IRC side


Module settings[edit]

Announce: Description: Should we announce logons and logoffs as controlled by the Logon module to IRC?

AnnounceTo: Description: Where should joins and leaves to the IRC channel be announced to?

AnnounceWhat: Description: Which events should be announced to IRC? None, only buddies logging on, only joins to the chatgroup or both?

Channel: Description: Which IRC channel should be used?

ChannelKey: Description: What is the IRC channel key if any?

Chat: Description: Which channels should be relayed into IRC and vice versa?

GuildPrefix: Description: Which prefix should IRC chat relayed to ingame chat get?

ignoreSyntax: Description: Is there a first letter that should make the bot ignore messages for IRC relay (leave empty if none) ?

IrcGuestPrefix: Description: Which prefix should ingame chat in the chat group of the bot relayed to IRC get?

IrcGuildPrefix: Description: Which prefix should ingame guild chat relayed to IRC get?

ItemRef: Description: Should AOItems or AUNO be used for links in item refs?

IncLog/OutLog: Description: options to activate or desactivate relay logging.

MaxRelaySize: Description: What's the maximum amount of characters relayed to IRC?

Nick: Description: Which nick should the bot use in IRC?

NotifyOnDrop: Description: Should the chat be notified if something isn't relayed because it's too large?

OAuthTok: Description: What OAuth Token, if needed to connect (otherwise leave empty)?

Port: Description: Which port is used to connect to the IRC server?

PrivRelay: Description: Should the bot be relaying private join/leave to Irc ?

Reconnect: Description: Should the bot automatically reconnect to IRC?

Server: Description: Which IRC server is used?

Notes[edit]
 * With recent patches, Bebot is now able to connect to IRC specific services like Twitch (server irc.chat.twitch.tv / port 6667) using an OAuth Token created via https://twitchapps.com/tmi/

Please note some modules have extended options to relay towards Irc.

Irc side commands available are : help, tara, viza, is, online/sm, whois, alts, level/lvl/pvp