WinMX Peer Networking Protocol
Channel Commands

[This documentation is preliminary and subject to change.]
Last updated June 13, 2004.


/level [<user>]
Without parameter, informs user of their own access level.
Access Level Needed:  any
With parameter, retrieves the access level of another user in the channel.
Access Level Needed:  190 by default, always the same as with /setuserlevel, change with /level_sulauth


/login <passphrase>
Login with an assigned passphrase.
Access Level Needed:  20 by default, change with /level_loginmin


/action <text>
/me <text>
/emote <text>
Access Level Needed:  60 by default, change with /setvoicelevel


/topic <new topic>
Access Level Needed:  110


/setmotd <new message-of-the-day>
Access Level Needed:  120


/kick <user>
Access Level Needed:  140


/ban <user> [optional minutes, or 255 for forever]
The minutes parameter is only processed for calling users whose access level is above 160 (which can be changed with /level_defbanminoverride).  If the parameter isn't processed or one isn't provided, the duration will be 5 minutes by default or whatever has been set with /defbanmin.
Access Level Needed:  150

/kickban <user> [optional minutes, or 255 for forever]
Access Level Needed:  150

/banip <user> <ip>[/nm] [optional minutes, or 255 for forever]      ( nm = netmask 32-16 )
Same as /ban, except the user doesn't have to still be in the room, and an IP corresponding to the user must be specified.  An optional subnet parameter can make it possible to block large ranges of IPs up to /16 (65536 IPs).
Access Level Needed:  150


/unban <user>
Access Level Needed:  150


/listbans
Access Level Needed:  160


/setvoicelevel <level 5-230>
Sets the minimum access level required for messages typed to be seen by other users in the channel.  The default is 50.  The minimum level for /action messages to be seen by others is 10 above the level for regular messages.
Access Level Needed:  170 by default, change with /level_svl


/clearbans
Access Level Needed:  170


/setuserlevel <user> <level 5-230>
Sets a user's access level.  See also /level_slagm below for details.
Access Level Needed:  190 by default, change with /level_sulauth


/setdeflevel <level 5-230>
Sets the level all users will be set to upon channel entry (default=65).
Access Level Needed:  190 by default, change with /level_sdlauth


/limit or /setlimit <5-600 users>
Sets the user limit for the channel.  Once this limit is hit, new joins are rejected.  The /limit command without parameters displays the current limit.
Access Level Needed:  190


/kickall
/clear
/clearchannel
Access Level Needed:  200


/redirect <destination channel name>
Access Level Needed:  210


/setchannelname <new channel name>
Access Level Needed:  215


/mklogin <access level 5-230> <passphrase>
/rmlogin <passphrase>
Adds and removes logins.  Passphrase can contain spaces.
Access Level Needed:  220 by default, change with /level_loginedit


/lslogin
List all logins.
Access Level Needed:  225 by default, change with /level_loginlist


/level_seejoinips	<level 5-230>
Sets minimum level to see IPs when people join channel (default=120).
Access Level Needed:  220


/level_fke <level 5-230>
Users with access levels equal or better than this will not be auto-kicked for flooding.  Default is 190.
Access Level Needed:  220


/level_svl <level 5-230>
Sets minimum access level to use /setvoicelevel.  Default is 170.
Access Level Needed:  220


/level_slagm <level 5-230>
The /setuserlevel max you can set others to is this value below your own access unless your level is >205.  The default value is 5.
Access Level Needed:  220


/level_sulauth <level 5-230>
Sets minimum access required to use /setuserlevel.  Default is 190.
Access Level Needed:  220


/level_sdlauth <level 5-230>
Sets minimum access required to use /setdeflevel.  Default is 190.
Access Level Needed:  220


/level_dispvoice <level 5-255>
Users ABOVE (not equal to) this level will have a + next to their name to indicate they have a voice in a moderated environment, unless they qualify for a @ next to their name (see /level_dispop below.)  Default is 120.
Access Level Needed:  220


/level_dispop <level 5-255>
Users ABOVE this level will have a @ next to their name to indicate they are an op/moderator.  Default is 120.
Access Level Needed:  220


/level_loginmin <level 5-230>
Minimum access level required to use /login.  Default is 20.
Access Level Needed:  220


/level_loginedit <level 5-230>
Minimum level required to use /mklogin and /rmlogin.  Default is 215.
Access Level Needed:  220


/level_loginlist <level 5-230>
Minimum level required to use /lslogin.  Default is 225.
Access Level Needed:  220


/defbanmin <minutes 1-255>
Sets the default ban duration in minutes.  255 is non-expiring.  The default is 5 minutes.
Access Level Needed:  220


/level_defbanminoverride <level 5-230>
Users with this minimum level can override the default ban duration.  The default is 165.
Access Level Needed:  220


/setssbthreshsec <seconds 5-230> 
A short-stay is defined as a visit under this many seconds.  The default value is 25 seconds.
Access Level Needed:  220


/setssbmin <minutes 1-230>
Sets the short-stay ban duration in minutes.  The default is 2 minutes.
Access Level Needed:  220


/level_ssbexempt <level 5-230>
Users with this minimum level can't be banned for a short-stay.  The default is 120.
Access Level Needed:  220


/savecfg <1-100>
Saves the current channel config to a text file in the WinMX program folder of the host.
Access Level Needed:  225


/loadcfg <1-1000>
Loads a channel config file from the host's WinMX program folder.  A higher parameter is allowed for this to allow hosts to create read-only config files.
Access Level Needed:  225


