Ejemplo n.º 1
0
        public Task Execute(IBotEngine instance)
        {
            string map = Value1.Contains("-") ?
                         Value1.Split('-')[0] : Value1;

            if (!map.Equals(Player.Map, StringComparison.OrdinalIgnoreCase))
            {
                instance.Index++;
            }
            return(Task.FromResult <object>(null));
        }