$fulladdress

From Scriptwiki
Revision as of 17:32, 22 April 2006 by Shenghi (talk | contribs) (added a dot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns the full address of the user triggering an event in the form nick!user@host.

$site

Example

on *:JOIN:#: {
  if ($nick === Dana) {
    echo -ag $fulladdress ; returns Dana!dana@staff.quakenet.org
  }
}

See also

  • $site returns the portion of $address after the @ related to an event.
  • $wildsite returns the address of a user who triggered an event in the form *!*@host.