Skip to content
MSN

Room Close

A TG007 community discussion started by Nsw_Grant.

Discussion 18 posts
Page 1 of 1
Open
Topic #2372 · 18 published posts · 1,411 views

 

 

Hello there

 

I need a Codeing that a staff member joins room says i i run this network ya ya ya closes room kicks the people in room and sets mode +i AND +M

but your not staff on msn

My code does NOT have bugs. It just develops random features.

what the hell kind of mode is +M? What IRCD do you use?

The Ignition Project | http://www.ignition-project.com/

Registered Linux User Number 368435

 

Hardware: AMD Athlon 64 3500+, DFI nF4 SLI Infinity, 1GB Dual Channel DDR400, 250GB Western Digital 2500 SE16 SATA II @7200rpm, 200GB Seagate 3200A UATA-133 @7200rpm, NVIDIA GeForce 6800GS OC'ed, 20" Apple Cinema Display

 

moderated

+m is "moderated"

+M could be anything; it's an ircd-specific mode.

The Ignition Project | http://www.ignition-project.com/

Registered Linux User Number 368435

 

Hardware: AMD Athlon 64 3500+, DFI nF4 SLI Infinity, 1GB Dual Channel DDR400, 250GB Western Digital 2500 SE16 SATA II @7200rpm, 200GB Seagate 3200A UATA-133 @7200rpm, NVIDIA GeForce 6800GS OC'ed, 20" Apple Cinema Display

 

he means a fake sysop room close. Anyway Nsw_Grant u can find one in hybrid, copy it but give credits to rumbaar.

on me:*:join:#:hop #

he could mean for another chat service, awhile back i think he said he bought e9n or sumthin

I'm sure he means +m for Moderated, but then again he could mean +M which could be anything.

I don't see why you don't just make you own room close. It's not that hard.

But try something like this.

 

alias closeroom {
 msg %aroom Hi Channel (*) $replace($remove(%aroom,$chr(35)),$chr(47) $+ $chr(98),$chr(32)) (*) my name is $me and I assist in running this network. This room is currently in violation of the Code of Conduct.
 msg %aroom The code of Conduct can be read @ http://www. Thank you for your time and attention in this matter.
access.kill
mode.close
keys.nuke
topic.close
kickall %aroom 
}
alias access.kill {
 access %aroom clear 
 access %aroom clear 
 access %aroom clear 
 access %aroom clear 
 access %aroom clear 
 access %aroom clear 
}
alias mode.close {
 mode %aroom +mi
 access %aroom add deny *!*@* 0 :Room Closed
}
alias keys.nuke {
 prop %aroom ownerkey :
 prop %aroom hostKey :
}
alias topic.close {
 topic %aroom Room Closed - Violation of ** Code of Conduct - By $me @ $date $time
}
alias kickall {
 set %i 1
 :next
 set %nick $nick($1,%i)
 if %nick == $null goto done
 if %nick != $me && Sysop !isin %nick && Admin !isin %nick && Guide !isin %nick kick $1 %nick Violation of ** Code of Conduct
 inc %i
 goto next
 :done
 halt
}

 

Not sure if this will work, cause i havent tested it yet. You get the idea anyway.

All you need to type in a room you would like to close is, /closeroom

Edited Dec 30, 2004 11:12 PM by Jacob

 

The very young do not always do as they are told

[16:29:25] -> *Hi* Channel (*) (*) my name is Mr_S and I assist in running this network. This room is currently in violation of the Code of Conduct.
[16:29:25] -> *The* code of Conduct can be read @ mylink. Thank you for your time and attention in this matter.
04• 09Hi 08no such nickname/channel
04•08 Unknown command09 ACCESS
04•08 Unknown command09 ACCESS
04•08 Unknown command09 ACCESS
04•08 Unknown command09 ACCESS
04•08 Unknown command09 ACCESS
04•08 Unknown command09 ACCESS
04• 09+mi 08no such nickname/channel
04•08 Unknown command09 ACCESS
04•08 Unknown command09 PROP
04•08 Unknown command09 PROP
04• 09The 08no such nickname/channel

 

And im the server network admin. I own my own server on unrealircd and thats the errors i got. Good idea none the less tho

ircd has no ACCESS command

its /ban -u900 # $nick <-- bans for 15 minutes

 

and mr_s this is in msn section lol

My code does NOT have bugs. It just develops random features.

if you are admin, you can close the room forever instead of changing mode to +i and +m only

The code i posted is for ircx as far as i know.

But try using /closeroom #Roomname

instead of just /closeroom and see wot results you get back. (Best to use an ircx server.. (ignition))

 

The very young do not always do as they are told

ircd is way better than ircx

ircd has modes for the rooms to stop floods etc, so you dont need those protections in ya script

 

and mr_s was trying the code you posted on unrealIRCD

which is ircd lol

 

ircd handles bans in a diff way

ircd has no ACCESS command

a ban on ircd is

/ban -u900 # $nick

which would ban for 15 minutes

 

ircd doesnt use prop either

 

also the code posted is for ircx and needs the %aroom variable setting as the chan or it will just give an error

 

the pass for room on ircd can only be set by the fouinder of the room which is done when you make it

 

and ircd uses

sop, aop, hop and vop

so using chanserv you would delete those as follows

/msg ChanServ SOP # DEL $nick
/msg ChanServ AOP # DEL $nick
/msg ChanServ HOP # DEL $nick
/msg ChanServ VOP # DEL $nick

and to use those you would have to set XOP on

eg

/msg ChanServ SET # XOP ON
/msg ChanServ SET # XOP OFF

 

hope this helps you mr_s

Edited Jan 1, 2005 6:13 AM by OZZY_10â„¢

My code does NOT have bugs. It just develops random features.

Ozzy im not dumb i think i can see that unrealircd is IRCd.

And if your bright you would off seen i said

Not sure if this will work, cause i havent tested it yet. You get the idea anyway.

And it's your opinion if you think IRCd is better than IRCx, but i disagree.

I was helping by posting that code, and i should of stated it was for IRCx. So my bad about that part.

 

The very young do not always do as they are told

jocob please don't take offence to ozzy's humor. He sometimes gets annoyed with things, so please don't worry about him and thank you very much for offering your assistance, and we hope that you are around for the long run.

actually i posted cause mr_s had confused things with posting it didnt work on ircd, so i made it clear what had happened.

It wasnt directed at just you jacob , it was directed at mr_s

It even says at bottom

hope this helps you mr_s

 

 

and gate there was no need for this

He sometimes gets annoyed with things, so please don't worry about him

i am sure everyone gets annoyed at times, but this was NOT one of my times.

 

 

My code does NOT have bugs. It just develops random features.

alright, my bad then. anyways, as ozzy said, IRCD servers should have many more protections and also as people noted above, you should be able to just close a room.

It's ok Gate, your not gonna get rid of me that easy! I didn't realise that IRCd has many different commands to IRCx, so my fault, and next time ill state what kind of server its meant for. (I hope my code did help someone)

 

The very young do not always do as they are told