Project

General

Profile

Google » History » Version 10

Per Amundsen, 02/16/2023 12:41 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 10 Per Amundsen
table(ktable).
14
|*Switch*|*Description*|
15
| -p (or using [[/pgoogle]]) | Send the result to the channel instead of printing. |
16
| -t | Specifies a 'window' is defined. |
17
| -nN | Show N results. |
18
| -d | Search using "DuckDuckGo":https://ddg.co instead of Google. |
19
| -s | Show/announce the text to be searched. |
20 1 Per Amundsen
21 9 Per Amundsen
*Parameters*
22 1 Per Amundsen
23 10 Per Amundsen
table(ktable).
24
|*Parameter*|*Description*|
25
| [window] | Window to show the result. |
26
| <text> | Text to search. |
27 1 Per Amundsen
28
*Example*
29
30
<pre>
31 5 Per Amundsen
; Search for 'Star Wars' and print 5 results.
32 1 Per Amundsen
/google -n5 Star wars
33
34 5 Per Amundsen
; Search for 'Natalie Portman' and send the result to #channel.
35 7 Per Amundsen
/google -p -t #channel Natalie Portman
36 1 Per Amundsen
</pre>