Bug 123815 - Please add DCOP calls which return information
Summary: Please add DCOP calls which return information
Status: RESOLVED DUPLICATE of bug 114237
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: 0.19
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-17 22:43 UTC by Dennis Schridde
Modified: 2008-05-01 13:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2006-03-17 22:43:25 UTC
Version:           0.19 (using KDE KDE 3.5.1)
Installed from:    Gentoo Packages

I'd like to have DCOP calls that return certain informations.
For example I wanted to create a script, which resolves the IP from a given nickname.
I intended to get the /whois info on that nick using the dcop raw command. Then I wanted to grep the hostname from the n= part and get the IP by pinging that host.
Problem was that raw doesn't return the server's response but instead sends it to the chat window.
So I'd recommend either a raw command, which returns the server's response, or several commands which return specific pieces of information (eg. hostname, ip).
Comment 1 Eike Hein 2006-03-17 23:09:26 UTC
Note that Konversation has a /dns command to resolve user hostnames, in case you wanted to relay that information to the chat view.
Comment 2 Dennis Schridde 2006-03-19 12:15:31 UTC
Thanks for the tip! That's exactly what I wanted. :)

But still I think it should be possible to get the server's response to a raw command(without sending it to the chat view), as this might also be useful for other scripts...
Comment 3 Eike Hein 2008-05-01 13:24:58 UTC

*** This bug has been marked as a duplicate of 114237 ***