Difference between revisions of "$fulladdress"

From Scriptwiki
Jump to: navigation, search
 
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 17: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.