taskWeeChat - Tasks: task #13059, /ping should work in context

 
 

task #13059: /ping should work in context

Submitted by:  Ioannis A <superuser>
Submitted on:  Sun Jan 26 00:29:45 2014  
 
Category: irc pluginShould Start On: Sun Jan 26 00:00:00 2014
Should be Finished on: Sun Feb 9 00:00:00 2014Priority: 5 - Normal
Status: Need InfoPrivacy: Public
Percent Complete: 0%Assigned to: Sebastien Helleu <flashcode>
Originator Name: Open/Closed: Open
Planned Release: NoneIRC nick: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon Jan 27 21:42:26 2014, comment #2:

I see. I really just want it to NOT require the server argument. But yes, it indeed works in a more obvious way in XChat (and most other clients, which follow a similar model).

Ioannis A <superuser>
Mon Jan 27 20:29:45 2014, comment #1:

"PING" (/ping) is an irc command that requires at least one argument. If you do /quote ping, the server should reply with an error ("PING: Not enough parameters").

Some clients like irssi display same error if you do /ping without arguments. But others like xchat send ping with the current time and displays the time spent before receiving PONG from server (same thing is done in background by WeeChat to check the lag with server).

So do you want something similar to xchat?

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Sun Jan 26 00:29:45 2014, original submission:

/ping should work more like /away or other commands that work in context. of where the cursor is.

For example, if I type in /ping in freenode, I'd expect it to ping just freenode, not throw an error message telling me it requires more arguments.

I understand it allows for ping forwarding to another server and that there is an additional /pong command, but nevertheless, the command can be done in context without breaking how it interacts with /pong. Just automatically assume what the first value is, unless it is provided, much like /away does.

Ioannis A <superuser>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by flashcode (Posted a comment)
  • -unavailable- added by superuser (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Jan 27 20:29:45 2014flashcodeStatusNone=>Need Info
      Assigned toNone=>flashcode

    Back to the top


    Powered by Savane 3.1-cleanup