I don't know if these would be useful to anyone else, but I wrote these for a function I wrote to get IRC access lists for the channels I use. Well, when i say "wrote", they are actually just edited versions of the functions in the IRC UDF.
;===============================================================================
;
; Description: Identifies you on an IRC server with the the password, requires a registered nick
; Parameter(s): $irc - Socket Identifer from _IRCConnect ()
; $u_password - password associated with the registrered nick
; Requirement(s): TCPStartup () to be run
; Return Value(s): On Success - 1
; On Failure - -1 = Server disconnected.
; Author(s): Aesus1
; Note(s): English only
;
;===============================================================================
Func _IRC_Ident($irc, $u_password)
TCPSend($irc, "privmsg nickserv identify " & $u_password & @LF)
If @error Then
MsgBox(1, "IRC.au3", "Server has disconnected.")
Return -1
EndIf
Return 1
EndFunc;==>_IRC_Ident
;===============================================================================
;
; Description: Sends the GHOST command for the given nick
; Parameter(s): $irc - Socket Identifer from _IRCConnect ()
; $nick - Nick you choose to use (must be a registered nick)
; $u_password - password associated with the registrered nick
; Requirement(s): TCPStartup () to be run
; Return Value(s): On Success - 1
; On Failure - -1 = Server disconnected.
; Author(s): Aesus1
; Note(s): English only
;
;===============================================================================
Func _IRC_Ghost_Command($irc, $nick, $u_password)
TCPSend($irc, "privmsg nickserv ghosts " & $nick & " " & $u_password & @LF)
If @error Then
MsgBox(1, "IRC.au3", "Server has disconnected.")
Return -1
EndIf
Return 1
EndFunc;==>_IRC_Ghost_Command