Here is my list of favorite WeeChat scripts
Receive a beep or run a command on highlight, private message, DCC, blacklist, whitelist, trigger. Though it may sound complicated at first, the default settings should be suitable for most users. This is my case. By default, highlights, privates messages and DCCs are on. Let’s install it :
/script install beep.pl
Display a sidebar with the names of all buffers. You can scroll the bar with the mouse if you have previously enabled it (alt+m). You can even drag and drop the buffers around. Since I use this, I join more channels.
I have seen a lot of users asking how to put that sidebar at the bottom of the screen, here is how as pointed out by the WeeChat’s FAQ:
/set weechat.bar.buffers.position bottom
Create a buffer that contains highlight message. You can then show it permanently by splitting your screen in 2 part with :
/window splith 12 /buffer highmon /layout save
Here is my custom layout
Allow you to change option dynamically with a menu. You can not only search option by name but you can also search by value. This is by far better than using /set because you have a description of the option at the top and it is less error prone.
This script adds the command allquery, a good companion to the builtin commands allserv and allchan. I use this script to close all private msg at once. If there is another way to achieve this, please let me know!
/script install allquery.py /allquery /buffer close
You can also use it to let people know you’re leaving :
/allquery /say gtg see ya later!
And maybe create an alias :
/alias GB /allquery /say gtg see ya later! /GB
Or bind a key :
/key bind ctrl-G /allquery /say gtg see ya later!
This script creates a bar item containing the timezone of your choice. I use this script to display the CET timezone on french channel like #weechat-fr. I do not put the item manually in the weechat.bar.status.items list. I prefer to use the customize_bar.py script because it easier to manage many channel. See my article on this topic.
This script lets you automatically set buffer properties upon buffer creation. For example, if you type
/query r3m /buffer set title My best friend !
and you close the query and reopen it, the custom message will have disappeared. Now, type :
/script install buffer_autoset.py /autosetbuffer add irc.freenode.r3m title My best friend ! /cycle
But wait. the text did not appeared? You must close the query and reopen it the first time to make it work. You can also use the /buffer then the /autosetbuffer command instead.
I already wrote an article on the subject.
This script lets you customize the title/status/input bars differently depending on the current buffer. I use it in conjunction with the alternatetz.py script.
This script lets you create your own bar item with the content of your choice. I wrote a tutorial on how to write WeeChat in color in the status bar.
This is famous, without modifying the appeareance of WeeChat, you gonna have trouble with long url. This script lets you create your own URL shortener service. Each time someone write an URL, this script will append the shortened URL on his own line below the sender text. It is, with iset, the most essential script (in my opinion).
I wrote an article about how to set up urlserver here
Yup, the grep.py, shell.py, cron.py and a lot more great and maybe essentials scripts do not appear in this post. I am still a new user to WeeChat, I did not needed them yet.