~ubuntu-branches/ubuntu/precise/gozerbot/precise

« back to all changes in this revision

Viewing changes to doc/plugins/SHOP

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Malcolm
  • Date: 2008-06-02 19:26:39 UTC
  • mfrom: (1.1.3 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080602192639-3rn65nx4q1sgd6sy
Tags: 0.8.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
-----
8
8
9
9
 
10
 
:author:  Bart Thate <bart@gozerbot.org>
 
10
:author:  Bart Thate <bthate@gmail.com>
11
11
:contact: IRCNET/#dunkbots
12
12
:website: http://plugins.gozerbot.org
13
13
:license: Public Domain
18
18
-----------
19
19
20
20
 
21
 
 maintain shopping lists (per user)
 
21
 maintain shopping lists per user
 
22
 
 
23
 
24
 
22
25
 
23
26
24
27
 
39
42
    ::
40
43
 
41
44
        <user> !got 1 6 8
42
 
        <output> 1 shop item(s) deleted
 
45
        <output> 0 shop item(s) deleted
43
46
 
44
 
2) got-chan
 
47
3) got-chan
45
48
 
46
49
    got-chan <listofnrs> .. remove listofnrs from channel shop list
47
50
 
53
56
    ::
54
57
 
55
58
        <user> !got-chan 1 6 8
56
 
        <output> 1 shop item(s) deleted
 
59
        <output> 0 shop item(s) deleted
57
60
 
58
61
3) shop
59
62
 
69
72
        <user> !shop bread
70
73
        <output> shop item added
71
74
 
72
 
4) shop-add
 
75
3) shop-add
73
76
 
74
77
    shop-add <username> <item> .. add shop item of someone else
75
78
 
76
79
    ::
77
80
 
78
 
        <user> !shop-add dunker milk
79
 
        <output> dunker does not share shopping list with test
 
81
        <user> !shop-add test milk
 
82
        <output> test does not share shopping list with test
80
83
 
81
 
5) shop-chan
 
84
3) shop-chan
82
85
 
83
86
    shop-chan [<item>] .. show channel shop list or add <item>
84
87
 
92
95
        <user> !shop-chan milk
93
96
        <output> shop item added
94
97
 
95
 
6) shop-del
 
98
3) shop-del
96
99
 
97
100
    shop-del <username> <listofnrs> .. delete shop item of someone else
98
101
 
99
102
    ::
100
103
 
101
 
        <user> !shop-del dunker 2 4 5
102
 
        <output> dunker does not share shopping list with test
 
104
        <user> !shop-del test 2 4 5
 
105
        <output> test does not share shopping list with test
103
106
 
104
 
7) shop-get
 
107
3) shop-get
105
108
 
106
109
    shop-get <name> .. get shop items of someone else
107
110
 
108
111
    ::
109
112
 
110
 
        <user> !shop-get dunker
111
 
        <output> dunker does not share shopping list with test
 
113
        <user> !shop-get test
 
114
        <output> test does not share shopping list with test