XChat Tips & Tricks



Contents

Move networks around in the Network List
Query on doubleclick
Hide/Unhide the Menu Bar
SSL
Sending files behind a firewall
Copy and paste text with timestamp and/or color
Select multiple users in the userlist
Scroll text by one line at a time
Hide join/quit messages
Retrieve the userlist
Move tabs around
Separate multiple commands
Set channellist and userlist side-by-side
Switch between channels
Auto remove files from the DCC windows when they are finished
Change color of the channel/userlist
Dots or text symbols in userlist




Move networks around in the Network List

Hold down SHIFT and press the UP and DOWN arrow keys to move the networks around in the Network List.




Query on doubleclick

Settings -> Preferences -> User list: 'Action Upon Double Click'.

Remove 'QUOTE WHOIS %s %s' and replace it with 'QUERY %s'.
Now when you double click a nick in the userlist it will open a querywindow.

If you want to make a shortcut for query command go to
Settings -> Advanced -> User Commands menu.

Click 'Add New', remove the *NEW* from the editbox and replace it with a Q
Replace EDIT ME with query &2 and hit 'Save'.




/q <nickname>

Will now open a querywindow.



Hide/Unhide the Menu Bar

Hide/Unhide the Menu Bar with (Ctrl+)F9 or rightclick in the channel -> View -> Menu Bar.




SSL

Add your network in XChat -> Network List.
Click 'Edit' and add the server and connectionport like this: irc.blah.net/+1234
Check both 'Use SSL for all servers on this network' and 'Accept invalid SSL certificate'.

(or use /sslserver irc.blah.net 1234 or from commandline: xchat ircs://irc.blah.net:1234)



Sending files behind a firewall

/dcc psend <nick> <file>

Initiats a 'passive' send if you're having trouble sending files while behind a firewall.



Copy and paste text with timestamp and/or color



To copy and paste text with timestamp press and hold SHIFT then highlight the text.
To copy and paste text with color press and hold CTRL then highlight the text (2.8.6+).

To copy and paste text with both timestamp and color press and hold SHIFT+CTRL then highlight the text (2.8.6+).



Select multiple users in the userlist

You can select multiple users in the userlist by holding down the CTRL key.



Scroll text by one line at a time

If you hold down SHIFT and press UP and DOWN arrows, you can scroll the text area by one line at a time.





Hide join/part/quit messages

Per channel:

2.8.5 & Older-   Rightclick the channeltab -> Uncheck 'Show Join/Part Messages'
2.8.6+-   Rightclick the channeltab -> Check 'Hide Join/Part Messages'

or in the channels input box type:

/chanopt confmode on
Will do the same as above, but gives you a message in the channel:
  Network: FreeNode Channel: #xchat
  text_hidejoinpart...: ON


-This setting will not be saved-(XChat 2.8.5 & older).
-This setting will be saved on clean quit- (XChat 2.8.6+)



Current channels:
/allchan chanopt confmode on
Hides join/part/quit messages for all channels you are currently in.
Will give a message in all channels you are currently in:
  Network: FreeNode Channel: #xchat
  text_hidejoinpart...: ON


-This setting will not be saved- (XChat 2.8.5 & older).
-This setting will be saved on clean quit- (XChat 2.8.6+)



All channels:
/set irc_conf_mode on
Hides join/part/quits permanently for all channels.

/gui apply
Applies the setting without you having to part/rejoin the channels for it to work.

-This setting will be saved on clean quit- (All versions)



Retrieve the userlist



If you can't find the userlist once you've joined your channels, click and hold the left edge of the user list (the red vertical line in the picture) and drag it out from the right side just like in the picture.




Move tabs around

ALT-Left/Right arrow keys can move tabs around.



Separate multiple commands

CTRL + SHIFT + U + A can separate multiple commands in the server list's "Connect command" and the input box (leave out the U for GTK 2.8 or older



Set channellist and userlist side-by-side



To have both your userlist and tabs/tree on the right side side-by-side:

- Set user list right:
  Settings -> Preferences -> User list - Right Upper.
- Set channel switcher left:
  Settings -> Preferences -> Channel switcher - Left Upper.
- Type: /set gui_tweaks 4

  • Restart xchat
  • Drag the whole lot to the right


More information about GUI tweaks and what they do, check the SET Variables list.



Switch between channels

To switch between channels use the CTRL + PgUP/PgDn keys.



Auto remove files from the DCC windows when they are finished

To auto remove files from the DCC windows when they are finished or aborted, type:

/set dcc_remove on



Change color of the channel/userlist



To change the color of the userlist go to Settings -> Preferences -> User list, check 'Use the Text box font and colors'.
Then go to Settings -> Preferences -> Colors -> Text Colors, set the 'Background' color. This will set the color of the userlist and the background. There are a few ways to change the background color but keep your userlist color.

(1)Set transparent background (Settings -> Preferences -> Text box, check 'Transparent background') - This option will show your desktop wallpaper/color.
If your wallpaper is too busy to use behind text or if you want to use a different background color, you could set a background image.

(2)Set a background image (Settings -> Preferences -> Text box, 'Background image:') - Set path/to/image or use the Browse button.

Here I've used a plain blue background image and set the background color to green.



Dots or text symbols in userlist

It is now possible to disable the userlist dots and use text symbols in stead.

To enable userlist text symbols (disable dots): /set -or gui_tweaks 64 or /set -on gui_tweaks 64
To enable userlist dots (disable text symbols): /set -off gui_tweaks 64



Versions: 2.8.7d/e/f + SVN

gui_tweaks







Help Auto Replace Buttons Charset Connect
CTCP Replies     Downloads Help Commands     Ignore Popups
Screenshots SET Variables     Spell Checking Strftime Text Events
Themes Timers Tips & Tricks User Commands     xchat-gnome!=xchat



XChat Official
- Documentation
- Download
- FAQ
- Forum
- News
- Scripts & Plugins



changed February 11, 2012