XChat User Commands
- What is an alias
- Execute multiple commands with one User Command
- Special Codes
- Set User Commands on connect
What is an alias
User Commands can be used to create aliases (shortcut commands) with.
An alias is a command name (shortcut command) you create to run one or more commands.
eg. "j" is an alias for "join".
Open the User Commands dialog.
Settings -> Advanced -> User Commands
Use the 'Add New' button to create a new User Command (alias).
Replace *NEW* with the alias name and replace EDIT ME with a command.
Execute multiple commands with one User Command
You can use one User Command (alias) that performs multiple commands, just use the same alias name for several different commands.
They will be executed in the order they appear in the list.
im --> mode %c +im
A User Command to lock and mute the current channel (fast in case of floods).
idnick --> msg nickserv identify pass01
A User Command to identify your nick.
idchans --> msg chanserv identify #xchat pass02
idchans --> msg chanserv identify #debian pass03
idchans --> msg chanserv identify #linux pass04
A User Command to identify all your channels.
ijxchat --> msg chanserv invite #xchat
ijxchat --> timer 3 j #xchat
A User Command to identify the channel and lets you join after 3 seconds. (Timers)
asl --> me is a 32 year old single male from South America.
A User Command to show your asl.
* Carlos is a 32 year old single male from South America.
time --> say %C04Date and time in the Netherlands: %C12%t%O
A User Command to show date and time.
Date and time in the Netherlands: Fri Aug 1 17:29:03
|%c = current channel|
|%e = current network name|
|%m = machine info|
|%n = your nick|
|%t = time/date|
|%v = xchat version|
|%2 = word 2|
|%3 = word 3|
|&2 = word 2 to the end of line|
|&3 = word 3 to the end of line|
eg. /cmd john hello
%2 would be "john"
&2 would be "john hello".
Set User Commands on connect
User Commands can also be set on connect. (Connect commands)
|CTCP Replies||Downloads||Help Commands||Ignore||Popups|
|Screenshots||SET Variables||Spell Checking||Strftime||Text Events|
|Themes||Timers||Tips & Tricks||User Commands||xchat-gnome!=xchat|