Project

General

Profile

Google » History » Version 9

Per Amundsen, 10/14/2021 02:21 PM

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