mIRC Homepage
Posted By: DvD_cD Chat lock command? - 30/03/14 10:44 AM
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:#: {
???
}
Posted By: sparta Re: Chat lock command? - 30/03/14 11:28 AM
All i can think of is put the channel +m.
Posted By: LostServ Re: Chat lock command? - 30/03/14 12:26 PM
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
}
Posted By: DvD_cD Re: Chat lock command? - 30/03/14 01:05 PM
And

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

for unlock?
Posted By: LostServ Re: Chat lock command? - 30/03/14 01:33 PM
Yep, that will work.
© mIRC Discussion Forums