Basic Use, Commands, Variables
Previous  Top  Next

The Mircryption script installs a custom menu in your right-click popup (accesible by right clicking in the text area of any window), and main Commands-> menu item. From there you can access all commands.

You can also enter commands manually or programatically (you can display this list from mirc by typing /mircryption in any window):
   /setkey [channel] [key]      enables encryption/decryption on specified channel (defaults to current channel), using key specified. can be used to add or modify keys.
   /delkey [channel]      removes encryption key for specified channel (defaults to current channel).
   /disablekey         temporarily disables encryption for current channel
   /enablekey         re-enables encryption for current channel
   /mctogglekey         toggles encryption from disabled and enabled, good for binding to a hotkey
   /displaykey         shows you (and only you) the key for the current channel
   /plain ...            send ... text without encryption
   /listkeys         lists all channel encryption keys currently stored
   /keypassphrase keyword   set or change current master keyfile passphrase to keyword
   /mcscheme X         set color/identification scheme, where X is the number 1 or 2
   /etopic [text]         set an encrypted topic for the channel.
   /encryptecho channelname text   echoes encrypted version of text IF channel is set to encrypt, otherwise plaintext
   /decryptecho text      echoes decrypted version of text if encoded to active channel
   /mcencrypt channel text      returns encrypted version of text IF channel is set to encrypt, otherwise plaintext
   /mcdecrypt channel text      returns decrypted version of text IF channel has a key, otherwise plaintext
   /setkeyfile filename      set the name of the file to be used for storing/retrieving keys
   /emsg channel test...      replacement for /msg - encrypts text if appropriate (good for bots, etc.)
   /enotice channel test...      replacement for /notice - encrypts text if appropriate (good for bots, etc.)
   /mcmeow [channelname]   broadcast handshake query to channel
   /etext text...         same as typing text... in encrypted channel, BUT igores disabling, and wont send to channel without encryption
   /textpad            launches the textpad dialog for copy and paste of big text
   /mcspeech         toggle ms agent speech
   /mcjumpjoin [modelchan]   creates and joins a new channel with a name based on current date and model channel, and transfers model channel passphrase (for secret renevouz)         
   /mclogviewer         launch the encrypted log viewer
   /mclognotes         open log notes window
   /migratenickkeys all|unused   migrate keyphrase from current channel to private query window keyphrases for all|unused nicks in the channel      
   /migratechankey channel   migrate keyphrase from channel specified to current channel

Main Mircryption variables (alt-R -> Variables tab):
   %mc_requirespass      set to yes to force user to enter master keyfile password before mirc will even connect
   %mc_keypassphrase      set to your master key passphrase to avoid having to type it in (IMPORTANT
: see security warning)
   %mc_keyfile         set to the name of the keyfile to use (can be used to change location of keyfile)
   %mc_warnings         set to no to disable any warnings (like when you set a plaintext topic on an encrypted channel)
   %mc_indent         set to a number or they keyword 'nick', sets the indentation of multiple lines. mirc default is 2, 'nick' lines up indents as left-aligned with first line.  
   %mc_hotkey         set to key desired for hotkey
   %mc_reversechar      set to any character - if first char of sentence is this, its encryption will be reverse. Defaults to ` (reverse quote).
   %mc_meowreplymode      how to respond to meow broadcasts (can be: always | never | match | noinfo); defaults to always.
                  always = always reply and say whether crypting, keymatch,etc.
                  never = never reply to meow broadcasts
                  match = only repond when key matches
                  noinfo = always respond, but never send info about encryption status or whether keys match
   %mc_etag         set to the prefix word on your output to indicate it is being mircrypted (defaults to mcps).
   %mc_dtags         comma separated list of prefix words that micryption uses on incoming text to indicate the text is mircrypted.
   %mc_tracknicks      if set to yes then if you are encryption chating in query window with someone and they change nicks,
                  mircryption will migrate the keyphrase to the new nick (yes|no|private); private is default.
                   the private mode of tracknicks will ignore nick changes except in private queries or chats.  
   %mc_maxtopiclen      maximum # characters the server will allow for topics  
   %mc_maxtopiclenautograb   set to yes if you want mircryption to automatically grab the max topiclength from the server on connect
   %mc_encryptbangs      whether to encrypt lines starting in ! (defaults to yes, set to no to ease communication with bots)  
   %mc_correctbackslashes   if set to yes (default is no) it will correct for when user types \command to be as if user types /command  
   %mc_indent         if set to nick (default) then it will indent multiple lines to line up after the nick, to give a block-like effect. to disable.set to: no.  
   %mc_indentplus      if you use timestamps you need to set this value to the width of your timestamps to make indenting work right (8 is default for timestamps). set to 0 to disable(default).  
   %mc_disablenickcolor      Disable nick coloring based on addressbook/nicklist  
   %mc_dontfixtitlebars       disables normal encrypted topic fixing (useful for slow machines that dont use encrypted topics)  
   %mc_eactiondisable      set to yes to disable the encryption of actins (useful for max. compatibility with other crypt scripts)  
   %mc_meowtag         meow reply extra text  
   %mc_meowtag_match      meow reply extra text on match  
   %mc_meowtag_mismatch   meow reply extra text on nonmatch