#!/usr/bin/env ruby # This executable is DEPRECATED # Please use 'tta' instead. puts puts "`ai´ is DEPRECATED. Please use `tta´ instead." require 'rubygems' require 'csd' begin CSD.bootstrap :executable => 'ai' rescue CSD::Error::CSDError => e CSD.ui.error e.message unless e.status_code <= 49 exit e.status_code rescue Interrupt CSD.ui.separator CSD.ui.info "Quitting the AI...".red exit end