Example #1
0
 protected internal bool CreateGroup(int grupid, string id)
 {
     if (!Groups.Exists(grupid))
     {
         Groups.AddNewGroup(grupid);
         SendMessage("Command:GroupCreated", id);
         return(true);
     }
     else
     {
         SendMessage("Command:GroupExists", id);
     }
     return(false);
 }