XChat Userlist & Dialog Buttons

Contents


I had a few requests for a Buttons page, so here we go.  

XChat Userlist Buttons


        Default Userlist Buttons.


GUI


To make your (x)chatlife easier you can put commands under a Userlist Button.
In stead of looking up and typing out a command one click can do the trick.
For example, if you are a ChanOp it could be useful to have Ban/Kick, channelmodes, anti-flood(channellock)commands etc. buttons in the Userlist.
In my example(see picture) I use a ZLine, a Shun, a Lock and a QBan Userlist button.


Add a Userlist Button
To add a button open the 'XChat: Userlist buttons' window: Settings -> Advanced -> Userlist Buttons...
Click 'Add New'.
In the 'Name' edit box remove *NEW* and replace it with your new button name, e.g. Lock.
In the 'Command' edit box remove EDIT ME and replace it with the code of the command/action you want your button to execute,
e.g. mode %c +im
Hit 'Save'.
A button with the name 'Lock' will appear in the Userlist. In case of floods you can quickly set your channel(%c) on invite(+i) and mute(+m) with just a click on the 'Lock' button.

Remove a Userlist Button
Open the 'XChat: Userlist buttons' window: Settings -> Advanced -> Userlist Buttons...
Select the name/commandline you want to remove.
Hit 'Delete' then 'Save'.





Command (linux)


Much simpler is the ADDBUTTON command.

Usage:
ADDBUTTON <name of the button> <action/command>

Example:

/ADDBUTTON Lock mode %c +im

A button with the name 'Lock' will appear in the Userlist. In case of floods you can quickly set your channel(%c) on invite(+i) and mute(+m) with just a click on the 'Lock' button.

To remove the button, simply type:

/DELBUTTON Lock



Userlist Buttons - Special Codes.
%a = all selected nicks.
%c = current channel.
%e = current network name.
%h = selected nick's hostname.
%m = machine info.
%n = your nick.
%s = selected nick.
%t = time/date.
 

XChat Dialog Buttons


Settings -> Advanced -> Dialog Buttons...

Here I created two ignore* buttons. Button 'IgnNick' (1) will add users to the ignorelist by nickname. With Button 'IgnIP' (2) users will be added to the ignorelist by their hostname/IP.

GUI




Add a Dialog Button
To add a button open the 'XChat: Dialog buttons' window: Settings -> Advanced -> Dialog Buttons...
Click 'Add New'.
In the 'Name' edit box remove *NEW* and replace it with your new button name, e.g. IgnNick.
In the 'Command' edit box remove EDIT ME and replace it with the code of the command/action you want your button to execute,
e.g. ignore %s!*@* PRIV
Hit 'Save'. Your new button will now show in your Dialog(PM/PVT) Windows.

Remove a Dialog Button
Open the 'XChat: Dialog buttons' window: Settings -> Advanced -> Dialog Buttons...
Select the name/commandline you want to remove.
Hit 'Delete' then 'Save'.


Dialog Buttons - Special Codes.
%a = all selected nicks.
%c = current channel.
%e = current network name.
%h = selected nick's hostname.
%m = machine info.
%n = your nick.
%s = selected nick.
%t = time/date.


*More info about how to use the ignorecommand and ignorelist, check here!  

Other Examples


NameCommand
ASLsay My ASL: 38/F/Antarctica
Welcomesay Welcome to %c. Enjoy your time!
Slap!me slaps %s around a bit with a large trout!
 

Date



XChat

IRC

Your IP



Search


 
 
Contact
t0x.in©2010