Closed
Bug 204475
Opened 21 years ago
Closed 21 years ago
Need user defined commands in chatzilla
Categories
(Other Applications :: ChatZilla, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rbowen, Assigned: rginda)
References
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314 XChat allows one to define commands, such as /foo, which can then be defined to be whatever you want, such as /action foo %2 bar %3 baz, where %1 is the command itself, %2 the first argument, %3 the next, and so on. This would be a handy feature to have in Chatzilla for those frequently-typed commands. Reproducible: Always Steps to Reproduce:
Comment 1•21 years ago
|
||
Additional analysis shows that xchat supports two formats for arguments. Using a percent prefix grabs a single word, while an ampersand prefix grabs all words following the index. For example, if the user creates a "FISH" command defined as "/me whacks %2 onna head with a &3" and calls it with /FISH bob small bluegill it will result in /me whacks bob onna head with a small bluegill. There's no particular advantage to using %2 to mean the first word after the command, but that seems to be how xchat and other irc clients work. Can't find a duplicate or related bug so confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•21 years ago
|
||
Bug 136528 is similar.
| Assignee | ||
Comment 3•21 years ago
|
||
chatzilla 0.9.x has an /alias command. parameters are all passed to the final command though, no %n placements yet.
Status: NEW → ASSIGNED
Depends on: 210744
| Assignee | ||
Comment 4•21 years ago
|
||
The chatzilla 0.9.x branch has landed on the trunk and should be available in tomorrow's nightly build. If you believe this bug has not actually been fixed, please repoen it.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Core → Other Applications
You need to log in
before you can comment on or make changes to this bug.
Description
•