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

(Example)
(Added an example)
Line 16: Line 16:
 
== Example ==
 
== Example ==
 
alias F12 {
 
alias F12 {
   ; Adds $1 to Users List - Group 20
+
   ; Adds $1 to Users - Level 20
 
   guser 20 $$1 2 $1   
 
   guser 20 $$1 2 $1   
   ; Toggles color nick to Yellow             
+
   ; Toggles nick color to Yellow in the Users List              
 
   cline -hlm 8 $chan $1             
 
   cline -hlm 8 $chan $1             
 
}
 
}

Revision as of 06:08, 7 October 2016

Template:mIRC menu 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

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

Switches

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

Parameters

  • <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

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

Added: 3.3 - 3.4

See also

[Expand]
v · d · e mIRC commands list