|  |  | 
 |  |  |             del inputList[0]
 | 
 |  |  |             #把剩余参数转换为整型
 | 
 |  |  |             for i in range(0, len(inputList)):
 | 
 |  |  |                 if not inputList[i].isdigit():
 | 
 |  |  |                     continue
 | 
 |  |  |                  | 
 |  |  |                 value = GameWorld.ToIntDef(inputList[i], None)
 | 
 |  |  |                 if value == None:
 | 
 |  |  |                     GameWorld.DebugAnswer(curPlayer, "参数错误, 必须为纯数字!")
 | 
 |  |  |                     return
 | 
 |  |  |                     #GameWorld.DebugAnswer(curPlayer, "参数错误, 必须为纯数字!")
 | 
 |  |  |                     continue
 | 
 |  |  |                 inputList[i] = value
 | 
 |  |  |                 
 | 
 |  |  |             callFunc(curPlayer, inputList)
 | 
 |  |  | 
 |  |  |     curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
 | 
 |  |  |     
 | 
 |  |  |     if not curPlayer.GetMapLoadOK():
 | 
 |  |  |         #未读取地图成功,不让用
 | 
 |  |  |         GameWorld.DebugLog("    未读取地图成功,不让用")
 | 
 |  |  |         return
 | 
 |  |  |     
 | 
 |  |  |     #判断FB中是否可使用GM命令
 |