Project

General

Profile

Google » History » Version 7

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

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