$site

From Scriptwiki
Revision as of 17:30, 22 April 2006 by Shenghi (talk | contribs) (added $fulladdress to see also)

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

Returns the portion of $address after the @ for the user associated with an event in the form user@host.

$site

Example

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

See also

  • $fulladdress returns the full address of the user triggering an event in the form nick!user@host.
  • $wildsite returns the address of the user who triggered an event in the form *!*@host.