mIRC Home    About    Download    Register    News    Help

Print Thread
#244807 30/03/14 10:44 AM
D
DvD_cD
DvD_cD
D
I want to make command, for locking the chat (nobody can type). But its not nobody! Only mod can type in the chat.
Code:
on *:TEXT:!lock:#: {
???
}

#244808 30/03/14 11:28 AM
Joined: Feb 2003
Posts: 3,412
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
All i can think of is put the channel +m.

#244809 30/03/14 12:26 PM
Joined: Mar 2004
Posts: 358
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 358
Originally Posted By: DvD_cD
I want to make command, for locking the chat (nobody can type). But its not nobody! Only mod can type in the chat.
Code:
on *:TEXT:!lock:#: {
???
}


Like the other poster said, you would need to set the channel +m for moderated. This means only voiced users and higher can talk.

Code:
on @*:text:!lock:#: {
  mode # +m
}

D
DvD_cD
DvD_cD
D
And

Code:
on @*:text:!unlock:#: {
  mode # -m
}

for unlock?

#244811 30/03/14 01:33 PM
Joined: Mar 2004
Posts: 358
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 358
Yep, that will work.


Link Copied to Clipboard