$address (remote)

From Scriptwiki
Revision as of 08:08, 29 June 2007 by Cail (talk | contribs) (changed "see also" a bit.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.