I'm running a IRC status Bot (a bot while will connect to the network and display on a forum if the user is on IRC or not), and am finding that the connect/disconnect noise is getting a bit much. It only connects once per page queried, but when you have a lot of browsing, it gets loud.
Is there a way, in simplistic terms, to set a block so that this one connection is "silent" and doesn't flood up the snotices window? I've searched the FAQ and the docs and have not found anything that will do it, but I'm kind of hoping there is a module out there somewhere that I have not discovered yet.
Hide connection from SNOMASK CONNECT
-
White_Magic
- Posts: 267
- Joined: Tue Jan 18, 2005 3:24 pm
- Location: Scotland - United Kingdom
There is one other sollution to you can use other then a bot. YOu could use for example Denora stats which i know keeps a database of all Nicks used and has a field to say whether they're online or not.
Then you could just include the PHP code in a page to query the table for the record where the Nick matches and the online value is Y. If you get a record returned then the nick is online otherwise it's not online or not been used.
Then you could just include the PHP code in a page to query the table for the record where the Nick matches and the online value is Y. If you get a record returned then the nick is online otherwise it's not online or not been used.
-
NightStorm
- Posts: 2
- Joined: Sat Sep 02, 2006 5:51 am
I'm running thales already. The problem is that the website that the socket would run from is on a different box than the UnrealIRCD and Thales, therefore remote SQL connection would have to be enabled... and I am sure you all know the security risks that come with opening up the SQL port.
And turning off snomasks isn't really a good idea, as it would mean not seeing ANY connections at all, instead of just ignoring the one.
I was kind of hoping that someone had coded a module that would allow me to specify a block in the config to exempt the one connection from snomasks, but I guess I'll have to take a different route to show a user as being online or not.
*sigh* and I so hate iframes.
And turning off snomasks isn't really a good idea, as it would mean not seeing ANY connections at all, instead of just ignoring the one.
I was kind of hoping that someone had coded a module that would allow me to specify a block in the config to exempt the one connection from snomasks, but I guess I'll have to take a different route to show a user as being online or not.
*sigh* and I so hate iframes.