mIRC Homepage
Posted By: sparta Get channel modes from server. - 29/12/12 01:25 PM
The default modes in mirc channel central:
Code:
tnimklps

But i would like to extend this. As for the network im on have the modes:
Code:
//echo -a $chanmodes give me
b,k,lL,acimnprstzCMNOQSTZ

How can i get the other modes not suported by mirc channel central? I dont know how i can filter out the modes the best/fastest way, i dont know regex so no idea i going there. I want to load the not default modes to a dialog.

Thnx in advance.
Posted By: 5618 Re: Get channel modes from server. - 29/12/12 05:31 PM
Why not create your own alias (and use it under Options > Mouse) or replace the /channel command itself and list them all in one new dialog? You'd then need to display all $chanmodes in it and check the checkboxes for the active modes using $chan($chan).mode

mIRC sends MODE $chan +b to the server to fill the ban list (raw 367) and when the user clicks the Excepts or Invites button it sends MODE $chan +e (reply is raw 348) and MODE $chan +I (reply is raw 346).
Posted By: Wims Re: Get channel modes from server. - 29/12/12 07:50 PM
Code:
$remove($chanmodes,$chr(44),tnimklps)
Posted By: sparta Re: Get channel modes from server. - 29/12/12 09:36 PM
Why didnt i think about $remove(), thnx :P
© mIRC Discussion Forums