src/Misc/MessageReciever.cs
/// <summary>
/// Sends an action message to a users nick name or a channel.
/// </summary>
/// <param name="Message">The message to send.</param>
/// <param name="Action">If true sends a action message. If false sends a normal message.</param>
Sends an action message to a users nick name or a channel.
Sends an action message to a users nick name or a channel .
public void SendMessage(string Message, bool Action)
		{
			if (Action)
				base.CurrentConnection.SendData("PRIVMSG " + strNetworkIdentifier + " :\x01" + "ACTION " + Message + "\x01");
			else
				base.CurrentConnection.SendData("PRIVMSG " + strNetworkIdentifier + " :" + Message);
		}
public void SendMessage ( string Message , bool Action ) { if ( Action ) base . CurrentConnection . SendData ( " " + strNetworkIdentifier + " \x01 " + " " + Message + " \x01 " ) ; else base . CurrentConnection . SendData ( " " + strNetworkIdentifier + " " + Message ) ; }
Sends an action message to a users nick name or a channel.
Sends an action message to a users nick name or a channel .
Message
string
The message to send.
The message to send .
Action
bool
If true sends a action message. If false sends a normal message.
If true sends a action message . If false sends a normal message .