Page 1 of 1

Moderated Environment (+m) question

Posted: Mon Nov 17, 2008 11:03 am
by vbSteve
Hi,

I'm running Unreal 3.2.7/Anope 1.8.0-rc1 on Microsoft Windows Server 2003 OS for about a year now and I have some questions about a specific problem I'm in now.

I host and maintain an official website for an artist and Christmas is coming, so that artist wants to schedule a live chat event on Christmas day. I'm preparing that chat event now, it will be held on the IRC channel and I'm expecting 50 to 100 people at least that night. Experience tells me that I can put the channel in moderated mode (+m), but I can't capture people's messages sent to the channel, so I can't really control the environment, unless I voice people, but that's not an option, because the event is Question and Reply based, not Multiple questions and reply, if you get what I mean.

On a previous chat system that I have used (not irc), when you put the chat in moderated mode all messages sent to the chat by regular users are saved first in a list and it's up to the operator which message can be sent to the public chat for everyone to see.
I was wondering if there is such a feature on Unreal that does the same or something similar (I reckon it will probably be a module of some kind). I was first thinking of programming my bot to send private message he receives to me, but then people will have to type /msg botname folowed by the message. Some people are leeks in this and just don't know how to do that, so that no option either.

(In reference t this post: http://forums.unrealircd.com/viewtopic. ... ted#p17145)
For some reason I can't change the channel mode to +mu, it sets the m flag, but not the u.

Another question is that on that same night, when the artist comes on, I don't want him to get bombarded with loads of private messages, So I wish to disable private messages sent to that users. I read through the Unreal docs, and it says something about user mode +d and +R; I'm just confirming those modes really work, I haven't actually tested it yet.


Any help will be much appreciated, thanks,
Steve.

Re: Moderated Environment (+m) question

Posted: Mon Nov 17, 2008 2:57 pm
by Casper
Good questions to start with, I think many people may struggle with those.

To start with, in such short notice you'll be bound to use a bot and as you run Windows, I'd recommend to make a mIRC bot.

1) Disabling prive messages

Get the module PrivDeaf from the modules page and let the artist set +D so he can't receive any privmessage from others than IRC operators or higher.

2) Getting a list of Questions

I would make a robot save all the questions into a .txt and send a notice to some sort of room where all questions are listed (Your members need to get in pm with the robot, ie. "!question How are you?" --> Channel: $nick asked: $2- # $+ $id --> Reply to user: "Question added! Question #number".) The number would be rather important to get the questions grouped in the order they were asked. You could grep a question by "!next" command or something and get from the .txt the nickname and voice it. The next time the artist types: "!next", that person will be devoiced and can ask another question to the artist.

The most important thing here is to make some sort of anti-flood protection (ie. not one person asking a million questions where the others have to wait: so let the bot check whether the nickname is already in the logfile or not).

The only catch, it's a custom script which I don't think it excisted. You write that you're users are leeks, so you have to inform them on what to do, for example:

on *:join:*:{
notice $nick WELCOME! TO ASK YOUR QUESTION, DOUBLE CLICK ON $BOTNAME AND TYPE YOUR QUESTION IN THE FOLLOWING FORMAT: "!question <questionhere>"
}

I hope this may have helped you. PM me if you need help :)

Re: Moderated Environment (+m) question

Posted: Tue Nov 18, 2008 10:00 am
by vbSteve
Will I guess I could do it like that. I have a bot with Visual Basic Script / JavaScript as extended language. I guess i can script it to make a list for me. I have PrivDeaf installed, can I set the +D mode for my artist or can only he set it for himself?

Re: Moderated Environment (+m) question

Posted: Tue Nov 18, 2008 12:56 pm
by Casper
/msg operserv set superadmin on ---> /msg operserv umode $nickartist +D --> /msg operserv set superadmin off.

Re: Moderated Environment (+m) question

Posted: Tue Nov 18, 2008 3:54 pm
by vbSteve
Thanks, this has helped me allot :)