Difference between revisions of "$address (remote)"

From Scriptwiki
Jump to: navigation, search
 
(nick (remote), not nick remote)
Line 5: Line 5:
  
 
== Example ==
 
== Example ==
  on *:text:*:#help.script:{ [[echo]] -a [[$nick remote|$nick]] has following address: $address }
+
  on *:text:*:#help.script:{ [[echo]] -a [[$nick (remote)|$nick]] has following address: $address }
 
This would e.g. echo: ''Dana has following address: Dana@staff.quakenet.org''
 
This would e.g. echo: ''Dana has following address: Dana@staff.quakenet.org''
 
== See Also ==
 
== See Also ==

Revision as of 22:27, 20 November 2005

Returns the address of the user associated with an event in the form user@host.

$address

$address takes no parameters.

Example

on *:text:*:#help.script:{ echo -a $nick has following address: $address }

This would e.g. echo: Dana has following address: Dana@staff.quakenet.org

See Also

Take a look at events to get a list of all events, but note that not every event has an associated user (and so an associated address).

$nick returns the nick associated with an event.

$chan returns the channel associated with an event.