mIRC Home    About    Download    Register    News    Help

Print Thread
#244807 30/03/14 10:44 AM
Joined: Mar 2014
Posts: 18
D
DvD_cD Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Mar 2014
Posts: 18
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:#: {
???
}

Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
All i can think of is put the channel +m.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Mar 2004
Posts: 359
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 359
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
}

Joined: Mar 2014
Posts: 18
D
DvD_cD Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Mar 2014
Posts: 18
And

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

for unlock?

Joined: Mar 2004
Posts: 359
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 359
Yep, that will work.


Link Copied to Clipboard