Sends a CTCP command to the specified user or channel.
Namespace: NetIrc2Assembly: NetIrc2 (in NetIrc2.dll) Version: 1.0.0.0 (1.0.0.0)
public void CtcpCommand(
IrcString recipient,
IrcString command,
IrcString[] parameters,
bool escapeParameters = true
)
Public Sub CtcpCommand ( _
recipient As IrcString, _
command As IrcString, _
parameters As IrcString(), _
Optional escapeParameters As Boolean = True _
)
public:
void CtcpCommand(
IrcString^ recipient,
IrcString^ command,
array<IrcString^>^ parameters,
bool escapeParameters = true
)
member CtcpCommand :
recipient : IrcString *
command : IrcString *
parameters : IrcString[] *
?escapeParameters : bool
(* Defaults:
let _escapeParameters = defaultArg escapeParameters true
*)
-> unit
member CtcpCommand :
recipient : IrcString *
command : IrcString *
parameters : IrcString[] *
?escapeParameters : bool
(* Defaults:
let _escapeParameters = defaultArg escapeParameters true
*)
-> unit
Parameters
- recipient
- Type: NetIrc2 IrcString
The user or channel to send the command to.
- command
- Type: NetIrc2 IrcString
The CTCP command.
- parameters
- Type: NetIrc2 IrcString
The CTCP command parameters.
- escapeParameters (Optional)
- Type: System Boolean
true to quote parameters with spaces in them, and escape backslashes and quotation marks.