# This is ugly code, but war is ugly, too.     
          
bind pub - !iraq casual

proc casual {nick host hand chan args} {
set reply [exec bash -c "lynx -dump http://icasualties.org/oif/ | grep \"Total Fatalities\""];
putlog "$reply";
putserv "PRIVMSG $chan :$reply";
}
 
# maybe somebody feels like doing it the proper way (e.g. egghttp)
# one should add that these are only US fatalities. Nobody knows the casualties on the other side.    
# Peace, mutante