Thresher 1.2 Class Documentation

CtcpSender.CtcpRequest Method 

Send a CTCP query to another user.

[Visual Basic]
Public Sub CtcpRequest( _
   ByVal command As String, _
   ByVal nick As String _
)
[C#]
public void CtcpRequest(
   string command,
   string nick
);

Parameters

command
The CTCP command. Should be a string constant from CtcpUtil.
nick
The target's nick name.

Remarks

The target may also respond with an error or nothing at all if it cannot or does not want to answer.

Exceptions

Exception TypeCondition
ArgumentExceptionIf the nick is invalid or the command is empty.

See Also

CtcpSender Class | Sharkbite.Irc Namespace