#!/usr/bin/env ruby # $Revision: 1.2 $ # $Date: 2003/12/04 22:18:34 $ # $Author: mikeman2 $ # quit.rb # an actual explanation for this would be rather redundant... # this is good enough for now but later on i'll figure out if i need a # Player#exitGame (logical since there is a Player#enterGame), and what # method should call Connection#drop, and all that sort of momentarily # unimportant crap. def Commands.do_quit(doer, args = "") doer.puts("Disconnecting.") Logger.log("#{doer} quitting.") doer.connection.drop # drop automatically saves and disconnects player end