#
# file:: cmd_stand.rb
# This source code copyright (C) 2009 Craig Smith
# All rights reserved.
#
# Released under the terms of the TeensyMUD Public License
# See LICENSE file for additional information.
#
module Cmd
bindtextdomain("cmd")
# The stand command
def cmd_stand(args)
case @position
when :standing, :fighting
sendto _("You are already standing.")
when :sleeping
sendto _("Maybe you should sit up first.")
else
@position = :standing
@mode = :playing
sendto _("You stand up.")
sendroom _("%{name} stands up." % {:name => name})
end
end
end