Hello I need the introduction about the entry system.
The code I have created to see the information of the users who are registered to Servere is not working. Please correct or please help me
This Startup Code
        CASE "!editrecord":
            IF( UserInGroup( "admin", $userName ) == 1 )
            THEN
              Manage_registions ( $KeyFlags,$id );
            ELSE
              PrivMsg( "^1Bu komut icin yetkiniz bulunmamaktadir!");
            ENDIF
            BREAK;
End Code
Sub Manage_registion ( $KeyFlags,$id )
    IF ( $register_store_method == "number" )
    THEN
      FOR ($i=0;$i<$register_counter;$i=$i+1)
        $username_array[1,$i] = GetStoredValue( "logon_username_" . $i );
        $logon_code_array[1,$i] = GetStoredValue( "logon_code_" . $i );
        $logon_password_array[1,$i] = GetStoredValue( "logon_password_" . $i );
      ENDFOR
    ENDIF
    IF ( $rows_displayed == 0 )
    THEN
      ### Set left/right and top/bottom coordinates ###
      $left_right_conf_reg=51;
      $top_bottom_conf_reg=80;
      ### End ###
      openPrivButton( "manage_regs_bg",$left_right_conf_reg,$top_bottom_conf_reg,97,67,5,-1,16,"" );
      openPrivButton( "manage_regs_title",$left_right_conf_reg+1,$top_bottom_conf_reg+1,95,5,5,-1,32,"^7Kayitli kullanicilar paneli Emirhan Pala " );
      openPrivButton( "manage_regs_subtitle_1",$left_right_conf_reg+1,$top_bottom_conf_reg+11,28,5,5,-1,96,"^2LFS User Name" );
      openPrivButton( "manage_regs_subtitle_2",$left_right_conf_reg+29,$top_bottom_conf_reg+11,28,5,5,-1,96,"^2Account name:" );
      openPrivButton( "manage_regs_subtitle_3",$left_right_conf_reg+57,$top_bottom_conf_reg+11,28,5,5,-1,96,"^2Account Password:" );
      openPrivButton( "manage_regs_subtitle_4",$left_right_conf_reg+85,$top_bottom_conf_reg+11,11,5,5,-1,96,"^2Edit:" );
    ENDIF
    $top_bottom_conf_reg=96;
    
    FOR ($i=$total_rows_displayed;$i<$register_counter;$i=$i+1)
        IF ( $rows_displayed < 9 )
        THEN
          openPrivButton( "manage_regs_account_".$i,$left_right_conf_reg+1,$top_bottom_conf_reg,28,5,5,-1,96,"^7" . $username_array[1,$i] );
          openPrivButton( "manage_regs_logon_code_".$i,$left_right_conf_reg+29,$top_bottom_conf_reg,28,5,5,-1,96,"^7" . $logon_code_array[1,$i] );
          openPrivButton( "manage_regs_logon_password_".$i,$left_right_conf_reg+57,$top_bottom_conf_reg,28,5,5,-1,96,"^7" . $logon_password_array[1,$i] );
          openPrivButton( "manage_regs_edit_".$i,$left_right_conf_reg+85,$top_bottom_conf_reg,11,5,5,-1,96,"^3Edit", Man_reg_edit );
          $top_bottom_conf_reg=$top_bottom_conf_reg+5;
          $rows_displayed=$rows_displayed+1;
          $total_rows_displayed=$total_rows_displayed+1;
        ELSE
          openPrivButton( "manage_regs_next",$left_right_conf_reg+1,141,95,5,5,-1,32,"^3Next", Man_reg_next );
        ENDIF
        IF ( $total_rows_displayed == $register_counter )
        THEN
          openPrivButton( "manage_regs_close",$left_right_conf_reg+1,141,95,5,5,-1,32,"^3Close", Man_reg_close );
        ENDIF
    ENDFOR
EndSub
Sub Man_reg_edit ( $KeyFlags,$id )
    IF ( GetCurrentPlayerVar( "account_edit" ) != "progress" )
    Then
      $lfs_username=GetStoredValue( "logon_username_" . subStr( $id, 17, 6 ) );
      $login_name=GetStoredValue( "logon_code_" . subStr( $id, 17, 6 ) );
      $password=GetStoredValue( "logon_password_" . subStr( $id, 17, 6 ) );
      $account_id=subStr( $id, 17, 6 );
      Man_reg_close( $KeyFlags,$id );
    ENDIF
    ### Set left/right and top/bottom coordinates ###
    $left_right_welcome=64;
    $top_bottom_welcome=80;
    ### End ###