Here are my errors:
+ Customs/01-Staff/OwnerStone2.cs:
CS1525: Line 34: Unexpected symbol `private'
CS1525: Line 35: Unexpected symbol `{'
CS1525: Line 36: Unexpected symbol `private'
CS1525: Line 38: Unexpected symbol `public'
CS1525: Line 38: Unexpected symbol `m'
CS1525: Line 44: Unexpected symbol `protected'
CS1547: Line 44: Keyword `void' cannot be used in this context
CS1525: Line 44: Unexpected symbol `('
CS1519: Line 52: Unexpected symbol `if' in class, struct, or interface member declaration
CS1519: Line 52: Unexpected symbol `==' in class, struct, or interface member declaration
CS1519: Line 53: Unexpected symbol `=' in class, struct, or interface member declaration
CS1519: Line 55: Unexpected symbol `=' in class, struct, or interface member declaration
CS1525: Line 58: Unexpected symbol `}'


Here is the code the way it is now:

Code:
using System;
using Server;
using System.Reflection;
using Server.Network;
using Server.Commands;

namespace Server.Commands
{
   public class OwnerHideCommand
   {
     public static void Initialize()
     {
       CommandSystem.Register( "FHide", AccessLevel.Counselor, new CommandEventHandler( FHide_OnCommand ) );
     }

     [Usage( "FHide" )]
     [Description( "Hides and Shows a GM with an effect." )]
     private static void FHide_OnCommand( CommandEventArgs e )
     {
    
       Mobile m = e.Mobile;
       m.PlaySound( 0x208 );

    Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x375A, 12 ); // 0
    Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y - 1, m.Z), m.Map, 0x3709, 13 ); // 1
    Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z), m.Map, 0x3709, 13 ); // 3
    Effects.SendLocationEffect(new Point3D(m.X - 1, m.Y + 1, m.Z), m.Map, 0x3709, 13 ); // 5
    Effects.SendLocationEffect(new Point3D(m.X - 1, m.Y - 1, m.Z), m.Map, 0x3709, 13 ); // 7
      Effects.SendLocationEffect(new Point3D(m.X + 2, m.Y - 2, m.Z), m.Map, 0x3709, 14 ); // 1
      Effects.SendLocationEffect(new Point3D(m.X + 2, m.Y + 2, m.Z), m.Map, 0x3709, 14 ); // 3
      Effects.SendLocationEffect(new Point3D(m.X - 2, m.Y + 2, m.Z), m.Map, 0x3709, 14 ); // 5
      Effects.SendLocationEffect(new Point3D(m.X - 2, m.Y - 2, m.Z), m.Map, 0x3709, 14 ); // 7
   
    private class MyTimer : Timer
    {
    private Mobile m_player;

    public MyTimer( Mobile m ) : base( TimeSpan.FromSeconds( 5 ))
    {
        Priority = TimerPriority.OneSecond;

        m_player = m;
    }
    protected override void OnTick()
    {
        if ( ( m_player != null ) && ( !m_player.Deleted ) )
        { 
            }
            else Stop();
            }
        }
    if( e.Mobile.Hidden == false )
         e.Mobile.Hidden = true;
       else
         e.Mobile.Hidden = false;
     }
   }
}
}
 
private static void FHide_OnCommand( CommandEventArgs e )
{
-> "}" is missing
add that before:
private class MyTimer : Timer

And also i think you have an extra bracket at the very end, if the fixed code fails try removing that.
 
Back