![]() ![]() ![]() freenode server will be added with freenode name. Here we are joining, FreeNode server or network, so just type "/server add freenode " and hit enter. and yes, we can have multiple ServerNames for the same URL or ServerLink. ![]() And also we can set specific settings for a particular ServerName in case we have many ServerName. Instead of typing the whole URL, we just need to type the name of the server that we gave it. ServerLink is the link of the server or network that you want to join and ServerName is just a name, it could be anything. Type "/server add ServerName ServerLink". Just type weechat into your terminal and hit enter. These people are said to be "voiced." Voiced people on a channel have their nicks prefixed by a + symbol. Some channels are configured such that only certain people are allowed to speak in them. The operators on a channel have their nicks prefixed by an symbol. These people are called operators (aka "opers", aka "ops"). Some people, however, have a higher status and have the ability to police the channel according to its culture and values. For a full list of commands, run the /help command.įor the most part, everyone on an IRC channel is technically of the same status. Commands: All commands start with a /.Talking: Simply type & press enter to say something.To install WeeChat into Ubuntu, just type "Sudo apt-get install WeeChat" and it will get installed into your operating system. ![]() notify ( 'From %s ' % prefix, title = 'Private Message', sound = sound, appIcon = WEECHAT_ICON, activate = activate_bundle_id ) return weechat. notify ( message, title = ' %s ' % prefix, sound = sound, appIcon = WEECHAT_ICON, activate = activate_bundle_id ) else : Notifier. config_get_plugin ( 'show_message_text' ) = 'on' : Notifier. config_get_plugin ( 'show_private_message' ) = 'on' and 'irc_privmsg' in tags and 'notify_private' in tags : if weechat. notify ( 'In %s by %s ' % ( channel, prefix ), title = 'Highlighted Message', sound = sound, appIcon = WEECHAT_ICON, activate = activate_bundle_id ) elif weechat. notify ( message, title = ' %s %s ' % ( prefix, channel ), sound = sound, appIcon = WEECHAT_ICON, activate = activate_bundle_id ) else : Notifier. config_get_plugin ( 'show_highlights' ) = 'on' and int ( highlight ): if weechat. notify ( 'In %s by %s ' % ( channel, prefix ), title = 'Channel Activity', sound = sound, appIcon = WEECHAT_ICON, activate = activate_bundle_id ) elif weechat. buffer_get_string ( buffer, 'localvar_channel' ) if channel in channel_allow_list : if weechat. config_get_plugin ( 'channels' ) != "" : channel_allow_list = weechat. config_get_plugin ( 'activate_bundle_id' ) channel_allow_list = if weechat. config_get_plugin ( 'sound' ) = 'on' else lambda : _ activate_bundle_id = weechat. config_get_plugin ( 'sound_name' ) if weechat. WEECHAT_RC_OK # Passing `None` or `''` still plays the default sound so we pass a lambda instead sound = weechat. utcnow () # Ignore if the message is greater than 5 seconds old if ( now_time - message_time ). utcfromtimestamp ( int ( date )) now_time = datetime. config_get_plugin ( 'ignore_old_messages' ) = 'on' : message_time = datetime. WEECHAT_RC_OK # Ignore messages older than the configured theshold (such as ZNC logs) if enabled if weechat. config_get_plugin ( 'ignore_current_buffer_messages' ) = 'on' and buffer = weechat. WEECHAT_RC_OK # Ignore messages from the current buffer if weechat. buffer_get_string ( buffer, 'localvar_nick' ) if prefix = own_nick or prefix = ( %s ' % own_nick ): return weechat. config_get_plugin ( 'tags' ), '', 1, 'notify', '' ) def notify ( data, buffer, date, tags, displayed, highlight, prefix, message ): # Ignore if it's yourself own_nick = weechat. hook_print ( '', 'irc_privmsg,' + weechat. info_get ( 'weechat_dir', '' ), 'weechat.png' ) DEFAULT_OPTIONS = for key, val in DEFAULT_OPTIONS. info_get ( 'weechat_config_dir', '' ), 'weechat.png' ) else : WEECHAT_ICON = os. info_get ( 'version_number', '' ) or 0 if int ( WEECHAT_VERSION ) >= 0x03020000 : WEECHAT_ICON = os. register ( SCRIPT_NAME, SCRIPT_AUTHOR, SCRIPT_VERSION, SCRIPT_LICENSE, SCRIPT_DESC, '', '' ) WEECHAT_VERSION = weechat. # Requires `pip install pync` import os import datetime import weechat from pync import Notifier SCRIPT_NAME = 'notification_center' SCRIPT_AUTHOR = 'Sindre Sorhus ' SCRIPT_VERSION = '1.5.2' SCRIPT_LICENSE = 'MIT' SCRIPT_DESC = 'Pass highlights and private messages to the macOS Notification Center' weechat. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |