Queryblocker

Diese Seiten sind lediglich aus historischen Gründen hier, sie werden weder gepflegt noch verlinkt.

Vor einiger Zeit habe ich beschlossen einen Queryblocker zu schreiben als es mir ziemlich auf die Nerven ging ständig von Leuten angesprochen wurde die ich nicht kannte.
Mittlerweile benötige ich ihn nicht mehr, allerdings werde ich nach wie vor desöfteren darum gebeten, daher behalte ich ihn hier.

Für das Script wird NoNameScript benötigt

Download (Version 0.9)

Changelog:

v0.9 (03.01.2007 17:46)
– fixed compatibility with nns 4.x
won’t work with 3.8x anymore!
– changed automatic answers from msg to notice
v0.81 (19.05.2004 19:41)
– fixed a typo (regarding ( HFREE) is an invalid command)
– fixed not saving auth/blocklist to file when empty
– fixed message was never shown on undeterminable hostmask
– auth/blocklist now shows all online nicks matching to a hostmask
– hide nicklist menu completely when no nick selected
– added “thanks”-section to readme
v0.8
– fixed message showing up twice
– improved auth-/blocklist view
– greatly improved add hostmask dialog
– added “silent” mode for messages to QBLog window
– now blocked messages can be hidden
– added menu for QBLog window
– minor cleanups through the whole script
– nicklist menu is now only enabled when a nick is selected
– link in about dialog is now clickable
v0.71
– fixed show message bug
– fixed delete mask from blocklist bug
– fixed bug from nicklist menu
v0.7
– fixed error messages on first load
– new setup dialog
settings available:
o show messages in active/own/no window
o show balloon tips
o show in away log
o log to status window
o customizable messages
o list of authed/blocked hostmasks
o some statistics
– added command /qbsetup
v0.6
– blocked messages are now shown in own window
– added easy removal to context menu
– now hostmask types 0-9 are available instead of 2 and 3
v0.5
– now checking for up to date IAL
– cleaned up the code some
– added current nicks to auth-list if known
– added some statistics
– fixed not saving new hostmasks
v0.4
– switched from ascii files to hash tables
the speedup is amazing :)
– auth list dialog is now finally working
v0.3
– show common channels
– prefix common channels with @/+
– improved display of allowed hostmask in context menu
– made notification to enquirer optional
v0.2
– the blocker does not catch already opened query windows
– windows are new suppressed completely
– you can temporarily disable the blocker via menu
– enabled the auth list overview (still non functional)
v0.1
– initial version

5 Gedanken zu “Queryblocker

  1. It currently only runs globally.
    Without looking at the code, I’d guess you’d have to modify it by adding a filter like “if ($network != YourNetwork) { return }” as a first line in the on open event.

    Example:
    on ^*:open:?:*:{
    if ($network != YourNetwork) { return }
    [...]
    }

  2. on ^:open:?::{
    if ($network != After-ALL) { return }
    […]
    }
    on 1:START:{
    hmake qb.authlist 300
    hmake qb.blocklist 300
    if ($exists(qb_auths.dat)) hload -ob qb.authlist qb_auths.dat
    if ($exists(qb_blocks.dat)) hload -ob qb.blocklist qb_blocks.dat
    echo -s Query Blocker %qb.version © 2003-2004 by Phreak loaded, blocker: $sd($iif(%qb.disabled == 0,enabled,disabled)) $+ , notify: $sd($iif(%qb.notify == 1,enabled,disabled)) $+ , allowed hostmasks: $sd($hget(qb.authlist,0).item) $+ , blocked/unknown hostmasks: $sd($hget(qb.blocklist,0).item) $+ , blocked queries: $sd(%qb.blocked)
    }

    and in MIRC options i have After-ALL as the network name. Amazing script just need to get it to only work on After-ALL :)

    Also , it seems i cant remove hosts from the allowed list :(

Hinterlasse eine Antwort

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *

Du kannst folgende HTML-Tags benutzen: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>