XChat User Commands

Contents


 

User Commands


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".

Normal:

/join #xchat

Alias:

/j #xchat




Usage


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.
Hit 'Save'.




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.



Examples


Examples:

im
im --> mode %c +im

A User Command to lock and mute the current channel (fast in case of floods).

/im



idnick
idnick --> msg nickserv identify pass01

A User Command to identify your nick.

/idnick



idchans
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.

/idchans



ijxchat
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)

/ijxchat



asl
asl --> me is a 32 year old single male from South America.

A User Command to show your asl.

/asl

* Carlos is a 32 year old single male from South America.


time
time --> say %C04Date and time in the Netherlands: %C12%t%O

A User Command to show date and time.

/time

Date and time in the Netherlands: Fri Aug 1 17:29:03



Special Codes


Special Codes.
%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)
 

Date



XChat

IRC

Your IP



Search


 
 
Contact
t0x.in©2010