=======
 LISTS 
=======
| 

about
-----
| 

:author:  Bart Thate <bart@gozerbot.org>
:contact: IRCNET/#dunkbots
:website: http://plugins.gozerbot.org
:license: Public Domain
 
| 

description
-----------
| 

maintain lists

| 

commands
--------
| 


1) lists

    lists <listname> [',' <item>] .. show content of list or add item to list

    ::

        <user> !lists bla
        <output> 5) mekker .. 8) mekker .. 11) mekker .. 14) mekker .. 17) mekker .. 20) mekker .. 23) mekker

    ::

        <user> !lists bla, mekker
        <output> mekker added to bla list

2) lists-chan

    lists-chan <listname> [',' <item>] .. show content of list or add item to list

    ::

        <user> !lists-chan bla
        <output> 6) mekker .. 9) mekker .. 12) mekker .. 15) mekker .. 18) mekker .. 21) mekker .. 24) mekker

    ::

        <user> !lists-chan bla, mekker
        <output> mekker added to bla list

3) lists-chandel

    lists-chandel <listname> ',' <listofnrs> .. remove items with indexnr from list

    ::

        <user> !lists-chandel mekker , 1
        <output>   is not an integer

    ::

        <user> !lists-chandel mekker , 0 3 6
        <output>   is not an integer

4) lists-chanshow

    show available channel lists

    ::

        <user> !lists-chanshow
        <output> bla

5) lists-del

    lists-del <listname> ',' <listofnrs> .. remove items with indexnr from list

    ::

        <user> !lists-del mekker , 1
        <output> failed to delete [1] .. 0 item(s) deleted

    ::

        <user> !lists-del mekker , 0 3 6
        <output> failed to delete [0, 3, 6] .. 0 item(s) deleted

6) lists-global

    lists-global <listname> [',' <item>] .. show content of list or add item to list

    ::

        <user> !lists-global bla
        <output> 7) mekker .. 10) mekker .. 13) mekker .. 16) mekker .. 19) mekker .. 22) mekker .. 25) mekker

    ::

        <user> !lists-global bla, mekker
        <output> mekker added to bla list

7) lists-globaldel

    lists-globaldel <listname> ',' <listofnrs> .. remove items with indexnr from list

    ::

        <user> !lists-globaldel mekker , 1
        <output>   is not an integer

    ::

        <user> !lists-globaldel mekker , 0 3 6
        <output>   is not an integer

8) lists-globalshow

    show available global lists

    ::

        <user> !lists-globalshow
        <output> bla

9) lists-merge

    merge 2 lists (users lists only)

    ::

        <user> !lists-merge mekker miep
        <output> no mekker list exists

10) lists-show

    show available channel lists

    ::

        <user> !lists-show
        <output> bla
