Bloodyboss Posted August 31, 2010 Report Share Posted August 31, 2010 Hey , I wanna a code for ircd using mic client like that was in msn if u typed a command for ur script !access it sends messages to channel [ ban list , except list , Invite list ] and command !cb to clear all bans and !ce t clear except list and !ci to clear invite list Link to comment Share on other sites More sharing options...
Guest Travis Posted September 2, 2010 Report Share Posted September 2, 2010 Is that using the /access command, Chanserv or /ban? Basic text command looks like this. on *:text:*!cb:#:access # clear Of course you will want to set up user groups so only specified users can have access to this. Some sort of flood protect may be needed as well. Myself and others can go over these details but first I wanted to make sure I had the right syntax for your server. Link to comment Share on other sites More sharing options...
Bloodyboss Posted September 2, 2010 Author Report Share Posted September 2, 2010 I mean normal IRCD server like Koach Link to comment Share on other sites More sharing options...
Guest Travis Posted September 2, 2010 Report Share Posted September 2, 2010 Oh ok. Koach uses Chanserv I believe. err0r has already written scripts for Koaches. Link to comment Share on other sites More sharing options...
Bloodyboss Posted September 2, 2010 Author Report Share Posted September 2, 2010 I can't find them Link to comment Share on other sites More sharing options...
err0r Posted September 2, 2010 Report Share Posted September 2, 2010 to do this you would use a simple while loop through $ibl(channelname,N) $ibl is internal ban list $iel is internal exception list $iil is internal invite list here is a quick example using a master level on Master:TEXT:!bl:#: { msg # Checking Ban List var %a 1 while ($ibl(#,%a)) { msg # $v1 inc %a } msg # $iif(!$ibl(#,1),No entries,End List) } you could include while loops for the others all in one or separately.. as for clearing the bans you would do the same thing only using mode # -b instead of msg # This is only a very basic example of how to do it. If for whatever reason you don't want to use the internal list you could use the raw return. when you do /mode <channel> +b with no entry it will return the list of bans through the raw 367 you could do the same for exception and invite if you wish using their perspective raw return info Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now