$wildsite: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
Shenghi (talk | contribs)
No edit summary
 
Shenghi (talk | contribs)
added $fulladdress to see also
 
Line 1: Line 1:
Returns the address of a user who triggered an event in the form *!*@host.
Returns the address of the user who triggered an event in the form *!*@host.
  $wildsite
  $wildsite
== Example ==
== Example ==
Line 9: Line 9:


== See also ==
== See also ==
[[$site]] Returns the portion of [[$address]] after the @ related to an event.
*[[$fulladdress]] returns the full address of the user triggering an event in the form nick!user@host.
*[[$site]] returns the portion of [[$address]] after the @ related to an event.


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

Latest revision as of 16:31, 22 April 2006

Returns the address of the user who triggered an event in the form *!*@host.

$wildsite

Example

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

See also

  • $fulladdress returns the full address of the user triggering an event in the form nick!user@host.
  • $site returns the portion of $address after the @ related to an event.