AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Addons AMXbans IRC bot. (https://forums.alliedmods.net/showthread.php?t=9156)

SaintK 01-07-2005 21:33

Addons AMXbans IRC bot.
 
[Linux only]
Today we've released the source on our so called "BanBot".

This bot is an irc bot connected to the AMXbans MySQL database.

You have the following options availible:
Code:

/*
 *----------------+------------+-----------
 * Command        Access/Flags  Status
 *----------------+------------+-----------
 * !findban        - PUBLIC    -- DONE
 * !baninfo        - PUBLIC    -- DONE
 * !btver          - PUBLIC    -- DONE
 * !botsnack        - PUBLIC    -- DONE
 *
 * !listadmins      - NOFLAGS    -- DONE
 * !admininfo      - NOFLAGS    -- DONE
 * !myaccess        - NOFLAGS    -- DONE
 *
 * !dumpbaninfo    - b          -- DONE
 * !dumpbaninfo-cd  - b          -- DONE
 * !fbaninfo        - b          -- DONE
 * !banstats        - b          -- DONE
 * !bancount        - b          -- DONE
 * !top6            - b          -- DONE
 * !afindban        - b          -- DONE
 * !war3stats      - b          -- DONE
 * !war3info        - b          -- DONE
 * !adminserverinfo - b          -- PENDING
 *
 * !ignore          - i          -- DONE
 * !unignore        - i          -- DONE
 *
 * !addadmin        - A          -- DONE
 * !deladmin        - A          -- DONE
 * !setflags        - A          -- DONE
 * !adminhostadd    - A          -- DONE
 *
 * !exit            - O          -- DONE
 * !sr              - O          -- DONE
 * !backupbans      - O          -- DONE
 * !rawsql          - O          -- PENDING
 * !rehashadmins    - O          -- PENDING
 *
 *----------------+------------+-----------
*/

For a demo join #dumber @ quakenet and type:
!findban id STEAM_0:0:2800467
or
!findban nick gagge

You can download the bot here:

http://www.dumbclan.co.uk/forum/viewtopic.php?t=3208

[Example!admininfo SaintK]
Quote:

<[DumB]SaintK> !serveradmininfo SaintK
<[DumB]-BT> **********************************
<[DumB]-BT> Admin Details of: SaintK
<[DumB]-BT> **********************************
<[DumB]-BT> Admin ID : 1
<[DumB]-BT> Steam ID : STEAM_0:0:2328
<[DumB]-BT> Acccess Flags: abcdefghijklmnopqrstu
<[DumB]-BT> Member Flags : ce
<[DumB]-BT> Has access on the following (12) servers:
<[DumB]-BT> -> b33f.co.uk - #69ER 7 32 player CS [UK]
<[DumB]-BT> -> #Dumber [07] - WC3X + SavedXP - www.dumbclan.co.uk
<[DumB]-BT> -> #Dumber [06] - WC3X + SavedXP - www.dumbclan.co.uk
<[DumB]-BT> -> #Dumber [05] - WC3X + SavedXP - www.dumbclan.co.uk
<[DumB]-BT> -> #Dumber [04] - WC3X + SavedXP - www.dumbclan.co.uk
<[DumB]-BT> -> #Dumber [03] - WC3X + SavedXP - www.dumbclan.co.uk
<[DumB]-BT> -> #Dumber [02] - WC3X + SavedXP - www.dumbclan.co.uk
<[DumB]-BT> -> #Dumber [01] - WC3X + SavedXP - www.dumbclan.co.uk
<[DumB]-BT> -> #69ER 3 CS 32 Player Deathmatch [UK]
<[DumB]-BT> -> #69ER 2 DizzyBitch WC3FT + saved xp
<[DumB]-BT> -> #69ER 10 CS 20 Player [UK]
<[DumB]-BT> -> #69ER 1 DizzyFeck WC3FT + saved xp
<[DumB]-BT> **********************************

gissberg 01-09-2005 09:25

Can't find the dl-link anywhere in that post.

Striker 01-09-2005 09:34

1 Attachment(s)
Why don't you attach the file(s) ?

...

SaintK 01-10-2005 06:33

bleeh sorry i ment to atach it and link to the origional post, kinda stoned and i forgot :oops:

Emigrante 01-10-2005 12:08

Compiling the plugin fine. But getting a error message when trying to start it with debug enabled:

IN : :port80a.se.quakenet.org 468 UNBanBot :Your username is invalid.
IN : :port80a.se.quakenet.org 468 UNBanBot :Connect with your real username, in lowercase.
IN : :port80a.se.quakenet.org 468 UNBanBot :If your mail address were [email protected], your username would be foo.
IN : ERROR :Closing Link: UNBanBot by port80a.se.quakenet.org (USER: Bad username)

Any ide how to fix this? Cant find anything in the config.

Emigrante
Main admin unitednerds.no

SaintK 01-11-2005 01:14

try using another server -- not all Quakenet servers enforce a check of Username matching Ident

Damocles 01-12-2005 05:32

nice work SaintK ;)

can you also ban or unban people according to steam id from IRC ??

SaintK 01-12-2005 07:24

Not yet, but requests always can be made and we'll look into the add/remove ban function

Puntje 01-12-2005 09:20

for some strange reason i keep on getting the following error:
Quote:

[15:18:49] [Rawh] !sr join #goldenstrike
[15:18:49] •›› Join: [GS-BT] [[email protected]] [#GoldenStrike]
[15:19:06] [Rawh] !findban nick twins
[15:19:06] •›› Quit: [GS-BT] [[email protected]] [Read error: EOF from client]
[15:19:08] [Rawh] ffs
after enabling debug im getting the following:
Quote:

NICK: Rawh HOST: [email protected]
CMD: !findban ## ARG1: nick twins
^[Segmentation fault

SaintK 01-13-2005 06:15

Emigrante, puntje, are your problems solved?


All times are GMT -4. The time now is 20:34.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.