add these 2 lines in iobanana.tcl
bind pub - [set ioss(cmdpre)]compare comparealias
proc comparealias {nick uhost hand chan args} { ioBanana $nick $chan "compare [lindex $args 0] [lindex $args 1]" }
make sure you put them in the right place, the bind up line with all the other bind pubs, and the proc line with all the other lines (halfway the file +/-) which look exactly like it..
cmd in chan will be -> !compare <user1> <user2>
enjoy
Code:
[ 23:48:17 ] _[ @Razor- ] !compare Razor test
[ 23:48:18 ] _[ @|**| ] Lost Empire presents: Razor vs test!
[ 23:48:18 ] _[ @|**| ] Round 1 - UL/DL Ratio: [ iNF ] vs [ 0.597 ] - 1 point to Razor
[ 23:48:18 ] _[ @|**| ] Round 2 - AllUp: [ 3.1GB @ #1 ] vs [ 1010.0MB @ #5 ] - 1 point to Razor
[ 23:48:18 ] _[ @|**| ] Round 3 - MonthUp: [ 3.1GB @ #1 ] vs [ 1010.0MB @ #5 ] - 1 point to Razor
[ 23:48:19 ] _[ @|**| ] Round 4 - WkUp: [ 3.1GB @ #1 ] vs [ 1010.0MB @ #5 ] - 1 point to Razor
[ 23:48:21 ] _[ @|**| ] The winner is Razor by 4 to 0!