Evaluated proc imgsave wand { save $wand; set url [imgur_upload http://irc.gangnet.org/magick.png]; if { $url == "http://i.imgur.com/.jpg" } { . imgur upload failed; view here: http://irc.gangnet.org/magick.png } { . $url } }