$fulladdress: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
Shenghi (talk | contribs)
No edit summary
 
Shenghi (talk | contribs)
m added a dot
 
Line 10: Line 10:
== See also ==
== See also ==
*[[$site]] returns the portion of [[$address]] after the @ related to an event.
*[[$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
*[[$wildsite]] returns the address of a user who triggered an event in the form *!*@host.


[[Category:Remote Identifiers]]
[[Category:Remote Identifiers]]

Latest revision as of 16:32, 22 April 2006

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.