From WikiChip
Difference between revisions of "mirc/commands/guser"
(→Example) |
(Added an example) |
||
Line 16: | Line 16: | ||
== Example == | == Example == | ||
alias F12 { | alias F12 { | ||
− | ; Adds $1 to Users | + | ; Adds $1 to Users - Level 20 |
guser 20 $$1 2 $1 | guser 20 $$1 2 $1 | ||
− | ; Toggles color | + | ; Toggles nick color to Yellow in the Users List |
cline -hlm 8 $chan $1 | cline -hlm 8 $chan $1 | ||
} | } |
Revision as of 05:08, 7 October 2016
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
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
mIRC commands list