Ok thanks for the help you guys, but I'm still getting errors

I think I was getting this errors because I copied certain parts from other scripts...
I've deleted the stuff I thought they where cousing the errors, but I don't know what to write there instead. Maybe you guys know what I have to write there instead?
I'll put this
on every place I've been messing around.
#==============================================================================
# ** World Map
#------------------------------------------------------------------------------
# This wil show the world map
#==============================================================================
class World_Map
#--------------------------------------------------------------------------
# * Main Processing
#--------------------------------------------------------------------------
def main
s1 = "Back"
s2 = "test"
# Make command window
@command_window = Window_Command.new(160, [s1, s2])
Graphics.transition(0)
Audio.se_play("Audio/SE/" + Wolfspirit::SE, 100)
@sprite = Sprite.new
@sprite.bitmap = RPG::Cache.picture(Wolfspirit::Picture4)
Graphics.update
Graphics.update
Graphics.update
Graphics.update
Graphics.update
@sprite.bitmap = RPG::Cache.picture(Wolfspirit::Picture5)
Graphics.update
Graphics.update
Graphics.update
Graphics.update
Graphics.update
@sprite.bitmap = RPG::Cache.picture(Wolfspirit::Picture6)
Graphics.update
Graphics.update
Graphics.update
Graphics.update
Graphics.update
@sprite.bitmap = RPG::Cache.picture(Wolfspirit::Picture7)
# Execute transition
Graphics.transition
# Main loop
loop do
# Update game screen
Graphics.update
# Update input information
Input.update
update_command
# Abort loop if screen is changed
if $scene != self
break
end
end
def update_command
if Input.repeat?(Input::UP)
if @command_window.index == 0
@command_window.index = ? :ninja:
else
@command_window.index -= 1
end
unless @questids.size == 1
$game_system.se_play($data_system.cursor_se) unless ? :ninja:
@status_window.refresh
end
end
if Input.repeat?(Input::DOWN)
if @command_window.index == ? :ninja:
@command_window.index = 0
else
@command_window.index += 1
end
unless ? :ninja:
$game_system.se_play($data_system.cursor_se)
@status_window.refresh
end
end
if Input.trigger?(Input::B)
$game_system.se_play($data_system.cancel_se)
$scene = Scene_Menu.new(5)
return
end
# Branch by command window cursor position
case @command_window.index
when 0 # Back
$scene = World_Map.new(false)
# Play decision SE
$game_system.se_play($data_system.cancel_se)
# Switch to menu screen
$scene = Scene_Menu.new
end
end
end
end