$address (remote)

From Scriptwiki
Jump to: navigation, search

Returns the address of the user associated with an event in the form user@host.

$address

$address takes no parameters.

Example

on *:text:*:#help.script:{ echo -a $nick has following address: $address }

This would e.g. echo: Dana has following address: Dana@staff.quakenet.org

See Also

  • Take a look at events to get a list of all events, but note that not every event has an associated user (and so an associated address).
  • $nick returns the nick associated with an event.
  • $chan returns the channel associated with an event.