Difference between revisions of "$level"

From Scriptwiki
Jump to: navigation, search
m
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
Finds a matching address in the remote users list and returns its corresponding levels list.
 
Finds a matching address in the remote users list and returns its corresponding levels list.
 
  $level(nick|address)
 
  $level(nick|address)
 
  
 
The levels will be returned as comma seperated list. If it is no general access level, a "=" will be infront of the level.  
 
The levels will be returned as comma seperated list. If it is no general access level, a "=" will be infront of the level.  
 
  
 
== Example ==
 
== Example ==
Line 12: Line 10:
  
 
== See Also ==
 
== See Also ==
To add a user by his address, use [[Guser|/guser]].
+
* [[Guser|/guser]] to add a user by his address.
 
+
* [[Ruser|/ruser]] to remove users from your user list.
You can also remove users from your user list using [[Ruser|/ruser]].
+
* [[$ulevel]] to get the userlevel that was matched for the currectly triggered event.
  
[[Category:Nick and Address Identifiers]][[Category:Userlist]]
+
[[Category:Userlist]]
 +
[[Category:Remote Identifiers]]

Latest revision as of 00:19, 3 February 2011

Finds a matching address in the remote users list and returns its corresponding levels list.

$level(nick|address)

The levels will be returned as comma seperated list. If it is no general access level, a "=" will be infront of the level.

Example

auser 1,2,3 Dana
echo -a $level(Dana)

This example would at first add Dana to your userlist and then echo its levels. The result would be "1,=2,=3".

See Also

  • /guser to add a user by his address.
  • /ruser to remove users from your user list.
  • $ulevel to get the userlevel that was matched for the currectly triggered event.