weechat-dev
[Top][All Lists]
Advanced

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

[Weechat-dev] [bug #27440] bad argument handling when using several comm


From: Elián Hanisch
Subject: [Weechat-dev] [bug #27440] bad argument handling when using several commands in a single alias
Date: Mon, 14 Sep 2009 00:39:57 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/4.3; Linux) KHTML/4.3.1 (like Gecko)

URL:
  <http://savannah.nongnu.org/bugs/?27440>

                 Summary: bad argument handling when using several commands
in a single alias
                 Project: WeeChat
            Submitted by: m4v
            Submitted on: Mon Sep 14 00:39:56 2009
                Category: alias plugin
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 0.3.0
                IRC nick: m4v

    _______________________________________________________

Details:

if I create this alias:

/alias test /say $*; /say hi

when I run "/test asd asd" I get the following output

asd asd
hi asd asd

the arguments for /test are passed to each cmd of the alias, the output I
would spect is

asd asd
hi

other example, some of the aliases I tried to set in weechat, for manage
chanserv.

/alias cs /msg chanserv
/alias csop /cs op $channel
/alias cskick /csop; /kick

If I use "/cskick troll" weechat instead of op me and kick troll, will op
troll.

aliases like above are pretty common in channels with the policy to only use
op when needed.





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?27440>

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





reply via email to

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