This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Keyed Channels

Old posts that have not been replied to for several years.
Locked
M
MsCreant

Keyed Channels

Post by MsCreant »

Does anyone know of a way to have the bot send a msg to users who try to join a channel and send them to where the "key" is being held. IE: we have a channel set up to "force" users to read rules.. and they can't get the key until they read them. But they need to know where to go to find the "key" and the rules.

Thanks

MsCreant
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Well its unpractical, how would the bot know to send the user a key who is trying to join a channel. That is only on the server side which is raw.

You would need to code a small scripplet say. Everyone should know the channel bots nick who want to join. They should msg the bot, with some trigger like '!rules' which would show them the rules, and in the end of the rules and terms of agreement display the key for joining that channel. :P

Or you can setup a #channelhelp for that #channel. Use your eggdrop in there, people would type on main '!rules' and the bot would msg them with the agreement or so and then with the key. 8)

I would recommend a small rules or terms of agreement text here because we wouldnt want to flood the bot off, you would need to use flood-chan and flood-msg as well so it is a bit secure. :wink:

But then again to me this idea sounds pointless, no one will always ask the bot for the key, people will remember it unless you change it on a daily basis or so. :mrgreen:

On the contrary:
If you really wana be elite, you can make a small, not small a bigger scripplet here. Make the bot define a random set of keys or choose keys from a random list, and after every 24hrs or 12hrs whatever you can make it change the channel key (select one from the list or generate one), and update that key in its "!rules", that would be a better way or so.
Then this will mean a new channel key every X hours and people would request for the new channel key to join in.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
M
MsCreant

Keyed Channels

Post by MsCreant »

Well now you made that sound a whole lot more complicated than I thought it was.. lol

I'm assuming there's no way the bot will know someone is trying to get in a keyed channel, so therefore, there's no way to have a script to auto-send a message other than the... unable to join channel (need correct key). I thought perhaps when they made an attempt to join the channel.. it would also send them a /msg from the bot saying, if you need the key go to #key-channel.

I guess ideas that sound simple in my head aren't as simple in reality. I also assume that its easy for those of you that know scripting as I have no clue how to put into action the things in my head.. (No I don't hear funny voices.. well ok, occasionally I do :mrgreen:
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Re: Keyed Channels

Post by awyeah »

MsCreant wrote:I thought perhaps when they made an attempt to join the channel.. it would also send them a /msg from the bot saying, if you need the key go to #key-channel.
Well, sorry there currently isn't a way to detect this at the moment. If you can detect this, you can only detect this for the bot itself and not for any other clients/users trying to join, unless you have root access on the IRCd or something and can see raw messages. :P

The only way users can get the key is by being invited by the bot, having DCC access to the bot, msging the bot for the rules/key, going on a channel and typing rules to get the key, inviting themselves if their an op or keep guessing the key for the rest of their life! :mrgreen:
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Locked