Difference between revisions of "$address (remote)"
From Scriptwiki
m (changed "see also" a bit.) |
|||
(One intermediate revision by one other user not shown) | |||
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 == | ||
− | |||
− | [[$nick (remote)|$nick]] returns the nick associated with an event. | + | * Take a look at [[:Category:Events|events]] to get a list of all events, but note that not every event has an associated user (and so an associated address). |
− | + | * [[$nick (remote)|$nick]] returns the nick associated with an event. | |
− | [[$chan (remote)|$chan]] returns the channel associated with an event. | + | * [[$chan (remote)|$chan]] returns the channel associated with an event. |
[[Category:Remote Identifiers]] | [[Category:Remote Identifiers]] |
Latest revision as of 08:08, 29 June 2007
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