weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [patch #6917] more expansions in aliases


From: Elián Hanisch
Subject: [Weechat-dev] [patch #6917] more expansions in aliases
Date: Wed, 16 Sep 2009 14:21:42 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/4.3; Linux) KHTML/4.3.1 (like Gecko)

URL:
  <http://savannah.nongnu.org/patch/?6917>

                 Summary: more expansions in aliases
                 Project: WeeChat
            Submitted by: m4v
            Submitted on: Wed Sep 16 14:21:41 2009
                Category: alias plugin
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                IRC nick: m4v

    _______________________________________________________

Details:

This patch adds $n- $-m $n-m and $~ expansions for aliases

for example, for create an alias for freenode's remove command, is a type of
/kick with this syntax

remove <channel> <nick> :<reason>

so with this patch I can create the alias
/alias remove /quote remove $channel $1 :$2-

since it requires a semicolon before <reason>



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed Sep 16 14:21:41 2009  Name:
0002-adds-more-expansions-for-aliases.patch  Size: 8kB   By: m4v

<http://savannah.nongnu.org/patch/download.php?file_id=18721>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6917>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]