Project

General

Profile

Pgoogle » History » Version 7

Per Amundsen, 01/07/2020 09:39 AM

1 1 Per Amundsen
_Added in 1.5_
2
3 5 Per Amundsen
*/pgoogle [-nN] [-t] [-d] [window] <text>*
4 1 Per Amundsen
5
Searches google for text and sends the output to current window or [window].
6
7 4 Per Amundsen
_See also [[/google]]._
8
9 7 Per Amundsen
_Switches can not be combined._
10
11 1 Per Amundsen
*Switches*
12
13
-t - Specifies a 'window' is defined.
14
-nN - Show N results.
15 3 Per Amundsen
-d - Search using "DuckDuckGo":https://ddg.co instead of Google.
16 1 Per Amundsen
17
*Parameters*
18
19
[window] - Window to show the result.
20
<text> - Text to search.
21
22
*Example*
23
24
<pre>
25 4 Per Amundsen
; Search for 'Star Wars' and print 5 results.
26 1 Per Amundsen
/pgoogle -n5 Star wars
27
28 4 Per Amundsen
; Search for 'Natalie Portman' and send the result to #channel.
29 6 Per Amundsen
/pgoogle -t #channel Natalie Portman
30 1 Per Amundsen
</pre>