Modules/bIRC: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<pageclass class="#0099AA" subcaption="Basic IRC Module"></pageclass> | <pageclass class="#0099AA" subcaption="Basic IRC Module"></pageclass> | ||
{{Outdated|Development for this module seems to have halted, use [[resource:irc]] for now.}} | |||
__NOTOC__ | __NOTOC__ | ||
{{Module_Info| | {{Module_Info| | ||
| Line 19: | Line 21: | ||
===mtaserver.conf=== | ===mtaserver.conf=== | ||
Add the following line in your mtaserver.conf: | Add the following line in your mtaserver.conf: | ||
<syntaxhighlight | <syntaxhighlight lang="xml"> | ||
<module src="ml_birc" /> | <module src="ml_birc" /> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 27: | Line 29: | ||
{{ml_birc callbacks}} | {{ml_birc callbacks}} | ||
[[ | [[ru:Modules/bIRC]] | ||
Latest revision as of 20:26, 23 September 2016
| This article is (partially) outdated and the information may no longer apply. | |
Reason: Development for this module seems to have halted, use resource:irc for now. |
| Module info | |
| Name | ml_birc |
| Version | 1.0 |
| Author | Awwu <[email protected]> |
| Module website | None |
| Download link | Soon |
| License | Unlicensed |
| Written in | Unknown |
| Operating system | Windows only |
| Compatible with | 1.0 |
Basic IRC module (bIRC) provides a fully functional server IRC echo for MTA:SA. It is currently available only for Windows servers on MTA:SA 1.0 (other versions untested).
Installation
Uncompress the file ml_birc.dll into your server\mods\deathmatch\modules\ directory.
mtaserver.conf
Add the following line in your mtaserver.conf:
<module src="ml_birc" />
Provided scripting functionality
Bot functions
Creation
Connection
Other
IRC functions
Channel
- ircGetChannelMode
- ircGetChannelTopic
- ircGetChannelUsers
- ircGetConnectedChannels
- ircJoinChannel
- ircPartChannel
- ircSetChannelMode
- ircSetChannelTopic
User
Communication
Other
Callbacks
- event_ircOnAction
- event_ircOnCTCP
- event_ircOnChannelMode
- event_ircOnConnect
- event_ircOnDisconnect
- event_ircOnFailedConnection
- event_ircOnInvite
- event_ircOnJoinChannel
- event_ircOnKick
- event_ircOnLostConnection
- event_ircOnNickChange
- event_ircOnNotice
- event_ircOnPartChannel
- event_ircOnPing
- event_ircOnQuit
- event_ircOnRaw
- event_ircOnText
- event_ircOnTopic