From WikiChip
Difference between revisions of "mirc/commands/guser"
< mirc‎ | commands

m (Bot: Automated text replacement (-Added On:.+\n?\n?\n?\n?\n? +))
m (Bot: de-linking old mIRC menu)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{mirc title|/guser Command}}
 
The '''/guser command''' looks up the address of the specified nick and adds it to the user list. It does this by doing a {{mIRC|/userhost}} on the given nickname, and returning an address in the format specified by [type]. If [type] is not specified then a default address format is selected.
 
The '''/guser command''' looks up the address of the specified nick and adds it to the user list. It does this by doing a {{mIRC|/userhost}} on the given nickname, and returning an address in the format specified by [type]. If [type] is not specified then a default address format is selected.
  
Line 14: Line 15:
  
 
== Example ==
 
== Example ==
 
+
alias F12 {
 +
  ; Adds $1 to Users - Level 20
 +
  guser 20 $$1 2 $1 
 +
  ; Toggles nick color to Yellow in the Users List           
 +
  cline -hlm 8 $chan $1           
 +
}
  
 
== Compatibility ==
 
== Compatibility ==
Line 31: Line 37:
 
{{mIRC command list}}
 
{{mIRC command list}}
  
[[Category:MIRC commands]]
+
[[Category:mIRC commands|guser command - mIRC]]

Latest revision as of 18:26, 15 June 2017

The /guser command looks up the address of the specified nick and adds it to the user list. It does this by doing a /userhost on the given nickname, and returning an address in the format specified by [type]. If [type] is not specified then a default address format is selected.

Synopsis[edit]

/guser [-a] <levels> <nick> [type] [info]

Switches[edit]

  • -a - if the user already exists, the specified levels are added to the current levels the user has

Parameters[edit]

  • <levels> - a list of levels seperated by commas
  • <nick> - the nickname you want to add the address from
  • [type] - if not specified, mIRC use a default type: 6
  • [info] - append text to the entry that is added to the users list

Example[edit]

alias F12 {

 ; Adds $1 to Users - Level 20
 guser 20 $$1 2 $1   
 ; Toggles nick color to Yellow in the Users List             
 cline -hlm 8 $chan $1             

}

Compatibility[edit]

Added: 3.3 - 3.4

See also[edit]

[Expand]
v · d · e mIRC commands list