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/
_______________________________________________
Weechat-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/weechat-dev