Added in 1.8.2

$ident

Returns the ident of the user triggering an event.

Example

; Prrint ident of the user in an incoming message.
on *:TEXT:*:*:echo -ag The ident of the user is $ident