patchWeeChat - Patches: patch #6917, more expansions in aliases

 
 

patch #6917: more expansions in aliases

Submitter:  Elián Hanisch <m4v>
Submitted:  Wed 16 Sep 2009 02:21:41 PM UTC
   
 
Category:  alias plugin Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  flashcode Open/Closed:  Closed
IRC nick:  m4v
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 16 Sep 2009 02:21:41 PM UTC, original submission:  

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>

Elián Hanisch <m4v>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Updated the item)
  • -email is unavailable- added by m4v (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-01-23 flashcode Open/ClosedOpen Closed
    2009-10-02 flashcode Assigned toNone flashcode
        StatusNone Done
    2009-09-16 m4v Attached File- Added 0002-adds-more-expansions-for-aliases.patch, #18721

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code