Page 1 of 1

In dire need

Posted: Thu Jan 15, 2009 4:24 pm
by malphas
Hi not sure if any one is able to help but i need an eggdrop that will work as a moderation control programme it needs to be able to have my channel ops added to it so they can have access in all my rooms the eggdrop will admin status in all rooms basicaly if an op type`s example /gateway opme #roomname it will op them if they type /gateway deopme #roomname it will also deop them the bot will also need to be capable of executing the kick and ban commands aswell so if an op is to click on the popups i use it will act to that command and do the desired kick or ban

I know i can add the mods indavidualy to channels but that consumes alot of time as currently we have over 80 rooms and the list is still growing

If any one can help it will be greatly appreciated

Re: In dire need

Posted: Thu Jan 15, 2009 5:31 pm
by Jobe
You do realise that what you described there is EXACTLY what IRC services packages such as Anope are designed to do, and even provide all the listed features.

Re: In dire need

Posted: Thu Jan 15, 2009 8:01 pm
by malphas
If you mean by me adding each room moderator to the access list to each and every room then yes

If you mean im able to do it another way then no I dont only ever been an admin never had my own server before now so havent got a clue as to what im able to do

Re: In dire need

Posted: Fri Jan 16, 2009 10:47 am
by Jobe
malphas wrote:If you mean by me adding each room moderator to the access list to each and every room then yes

If you mean im able to do it another way then no I dont only ever been an admin never had my own server before now so havent got a clue as to what im able to do
See /msg OperServ help mode

And in UnrealIRCd for services-admin oper's, see /helpop ?samode

Both allow an oper to op themselves in a channel.

Re: In dire need

Posted: Sat Jan 17, 2009 1:37 am
by malphas
This is no good because they are only channel ops and not admin so they have no operserv access no chanserv access just the basic controls off a channel op warn kick and ban.

So unless I add them to the auto ops or set them to level 3 access on each and every channel they cant do anything hence the reason I need an eggdrop that I can add the moderators to so they can get their ops that way only problem their is I know nothing about TCL scripting and know noone that is able to do it all im looking for is a simple windrop or eggdrop type bot that is able to be used as a mod control bot with out the hassle of to much editing config files

Re: In dire need

Posted: Sat Jan 17, 2009 5:56 pm
by Stealth
Read the notes at the bottom of this post before using.

Unfortunately, running a server involves lots of config file editing.

Once you have an eggdrop running, place the following TCL into a file in the scripts directory, then load it through the eggdrop's conf.

Code: Select all

bind msg - OP msg_op

proc msg_updatehost { nick uhost hand text } {
  set uhand string range $nick 0 8]
  if {[matchattr $uhand "A"]} {
    putserv "SAMODE $text +o $nick"
    putserv "GLOBOPS :$nick ($uhost) was oped on $text."
  } else { 
    putserv "NOTICE $nick :You do not have access to use this command."
    putserv "GLOBOPS :$nick ($uhost) requested to be oped on $text, but was denied"
  }
}
Then, modify and add the following to your unreal conf

Code: Select all

alias gateway {
	target <eggdrop>;
	type normal;
};
To use this, each user with access to this 'feature' must be added to the eggdrop, and have the A attribute set to them. The eggdrop must be an oper with the services_admin oper flag. They can then send the following command to Unreal: GATEWAY OP #channel


YOU MUST READ THE FOLLOWING:
  • EGGDROPS ARE NOT SECURE, AND SHOULD NEVER BE GIVEN AN OLINE.
  • EGGDROPS CAN BE HACKED, AND IT IS NOT MY PROBLEM IF THIS HAPPENS.
  • IT IS YOUR RESPONSIBILITY TO SECURE YOUR EGGDROP.
  • THIS METHOD CAN BE ABUSED BY USERS WHO "JUST HAPPEN" TO MATCH AN AUTHORIZED USER@HOST MASK.
  • I DO NOT CONDONE FORCEFUL ACTIONS OF NETWORK STAFF IN CHANNELS OWNED BY USERS UNDER ANY CIRCUMSTANCE.
  • I WROTE THIS SCRIPT QUICKLY, AND THERE MAY BE ERRORS. THIS SCRIPT IS PROVIDED AS-IS, AND NOT GUARANTEED TO WORK, IS NOT GUARANTEED TO BE SECURE, AND THERE IS NO SUPPORT PROVIDED FOR THIS SCRIPT BY ME, UNREALIRCD STAFF, OR SUPPORTERS OTHER THAN WHAT HAS BEEN PROVIDED HERE.
  • USE THIS SCRIPT AT YOUR OWN RISK!!!
[/size]

Re: In dire need

Posted: Sat Feb 07, 2009 5:12 pm
by malphas
I tried this but it didnt work thanks for trying for me stealth its appreciated