Modules/IRCEcho/ircRaw
Jump to navigation
Jump to search
This function is provided by the external module IRCEcho. You must install this module to use this function. | |
Sends an raw message to the IRCConnection
Syntax
function ircRaw ( IRCConnection irc, string command )
Required arguments
- irc: The IRCConnection
- command: The command that you want to send to the IRC server
Example
Example 1: This makes the IRCConnection ban Fedor!*@*
function ircBanHost( thePlayer, command, channel ) ircRaw("MODE #mta +B Fedor!*@*") end addCommandHandler( "disgrace", ircBanHost )