Hans Prestige Visual IRC
Visual IRC
   Features & Screenshots
   Download ViRC!
   Scripts

   Visual IRC Forum
   Chat in Undernet #ViRC

   Awards and Reviews
   About the Author
   About the Technology
ViRC Antique Shop

Search change log

What's new in Visual IRC 2.0pre10?

Additions (17)
Bug fixes (12)
Changed features (5)

Additions

  • Visible controls now have the Parent property available. This could be
    used to move built-in controls into a group box or tab sheet.
  • TListBox, TComboBox, and TListView now have an ItemText property. For
    TListBox and TComboBox it's equivalent to the ItemIndex'th element of
    the Items list; for TListView it's equivalent to the Caption property
    of the Selected item.
  • Server tab buttons now show "connecting" while waiting to connect.
  • A gratuitous credits display is hidden in the about box.
  • DCC entries now stay in the list after an error occurs.
  • $GetDCCInfo() has two new fields: errnum and errmsg. 'state' can also
    return 'error'.
  • New '@e' command to set one-line event handlers. For example:
    @e $form.OnMouseDown = MessageBox $Button
    Now when you click the form, you will see a message saying "mbLeft" or
    "mbRight" depending on which button you used. Note that the $Button is
    evaluated when the event handler runs, not when it's set (as with @p).
    This is equivalent to:
    @p $form.OnMouseDown = Eval MessageBox $$Button
    ... but it makes more sense.
  • New <default> event for server lines that aren't handled by anything
    else. New "show unrecognized server numerics" script setting, to show
    the entire unrecognized line.
  • New associative array syntax:
    @ $foo[key1] = value1
    @ $foo[key2] = value2
    @ $foo[key3] = value3
    MessageBox $foo[key2]
    -@ $foo[key1]
    // when the key contains brackets, $, etc...
    @l $temp = ]special characters[
    @ $foo[$temp] = value4
    foreach ($key, $value; $foo)
    MessageBox key: $key, value: $value
    endforeach
    // stored array
    @s $stored[key] = value
    -@s $stored[key]
    // local array
    @l $local[key] = value
  • New functions for arrays: $ArrayKeys($array), $ArrayValues($array),
    $ArrayLength($array). These only work with arrays created with the new
    syntax as shown above.
  • ViRC now automatically checks for updates 5 minutes after you start it.
    You can disable update checking or change settings in client setup, and
    you can force it to check immediately with /checkforupdates or the
    file menu item.
  • New functions: $URLEncode(text), $URLDecode(text). URL encoding replaces
    space with '+' and all other non-alphanumerics with '%xx', where xx is
    the hex code. Decoding is the opposite.
  • New function $MD5(text) to return an MD5 digest. The digest is a 128-bit
    fingerprint of the input text, given as 32 hex digits. The chances of
    two separate texts having the same MD5 digest are one in 2^128.
  • New function $ParseColor(string [type]) to get a color's RGB value.
    <string> can be an mIRC color number (0-15), a hex color in the form
    $BBGGRR, a decimal color (as returned by $prop($obj.Color)), an
    event color name like ecJOIN, or a color name like clGreen.
    <type> can be 'dec' to return it as a decimal color (for use with
    @p $obj.Color or with TextOut) or 'hex' to return it as a hex color in
    the form RRGGBB (for use with \d). 'hex' is the default.
  • ViRC will try to reconnect to the server if the connection is lost. You
    can adjust the delay between attempts (and other settings) in client
    setup. ViRC can also try other servers on the same network if enabled.
    Note that disconnecting with '/raw quit' will make ViRC think the server
    disconnected you, and it will try to reconnect.
  • New "don't hop away" server list option. If reconnection fails on a
    server with the option enabled, ViRC won't try other servers from the
    same network. However, if ViRC was trying the "don't hop away" server
    because reconnection failed on a different server, it will still hop
    away.
  • ViRC's tray icon now has a customizable popup menu (MT_TRAYPOPUP).

Bug fixes

  • Fixed hexadecimal values in expressions.
  • No more errors when using /exit with queries or channels open.
  • Major DCC bugs fixed.
  • Menu definitions can now have spaces before the bitmap filename.
  • DCC requests are always sent correctly with reverse DCC enabled. You can
    also send DCC when SOCKS is enabled, as long as reverse DCC is also
    enabled.
  • Errors in ActiveScript language blocks are handled better.
  • GetVar() in ActiveScript code now works correctly for numbered parameter
    variables.
  • $getwindowid() now works in <OnCreateWindow> for all window types.
  • Timers are now disabled correctly when the timer command takes longer
    to run than the timer interval.
  • Importing ViRC 1.x settings now works correctly when there was no server
    list defined.
  • Ending color codes now correctly clears the background color.
  • Leaving the personal script filename blank is now acceptable.

Changed features

  • <OnStart> events are now run after the toolbars are set up and the
    splash form is hidden.
  • The script editor no longer saves menu items that have no code. This
    means you can add items in local.lib without having to copy all the
    code from virc.lib.
  • The server debug log now contains all text that is sent or received.
    'recv' marks a received line, 'send' is a sent line, 'send_brk' is a
    sent line that is broken to avoid DCC proxies, and 'send_idle' is a
    sent line that doesn't reset $idletime(). If you use debug logging, make
    sure you edit any passwords out of your logs before you send them to
    anyone.
  • Channel, query, and DCC chat window positions are now stored with an MD5
    digest of the network and channel/nickname instead of the actual plain
    text. This prevents others from looking in your registry to see who
    you've talked to, and also lets you have separate positions for the same
    channel on different networks.
  • The 'News and updates' link has been removed from the about box.

Change log history:
© Jesse McGrew 2001-2007