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.

Looking for a Channel TOS Script

Old posts that have not been replied to for several years.
Locked
e
exiva

Looking for a Channel TOS Script

Post by exiva »

i keep my channel +m and would like a script that msg's a user some terms that i can set in a .txt file and inorder to get +v they have to type like I Agree then it adds them to an Auto +v list? does eomething like this exist?
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

You don't need to add it in a .txt file specifically you can set it as a variable as well, or if you want random or many you can put it in an array (list). :mrgreen:

To add them to the autovoice list, you can give them the +v flag.
That is the bots internal autovoice list. .chattr <user> +v :D

So you didn't mention when you wanted it to trigger.
Do you want the script to trigger when the user joins the channel?
Or do you want it to trigger when some one is op'd, voice'd? etc.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

inorder to get +v they have to type like I Agree then it adds them to an Auto +v list
I guess they have to type something in main so that they get +v but, of course, with a channel set +m they can't. They'd have to msg the bot to agree to the terms so that the bot will voice them. :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

You can do that. Make the bot bind join and do a private message/notice to everyone who joins your channel which is set to +m. :wink:

Then depending on if they agree with the terms and conditions (which can be set in a txt file or a variable), put string matching conditions to the output text, to check if they have agreed or not, then you can go ahead and voice them. :lol:

You can add stuff, like, not to voice if user is already voiced or not to op if user is already an op. And check for the op/voice delay as well.. and stuff like that using utimers, so if your channel has alot of people the bot wont mode flood. I would recommened pushmode, rather than putserv in this case. :mrgreen:
·­awyeah·

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