if (input.Contains(Strings.Events.onlinelistcommand) ||
                   input.Contains(Strings.Events.onlinecountcommand))
               {
                   var onlineList = Globals.OnlineList;
                   input = input.Replace(Strings.Events.onlinecountcommand, onlineList.Count.ToString());
                   var sb = new StringBuilder();
                   for (var i = 0; i < onlineList.Count; i++)
                   {
                      Â
                       sb.AppendLine(onlineList.Name + " Lv: " + onlineList.Level + (i != onlineList.Count - 1 ? " | " : "") );
                     Â
                      Â
                      Â
                   }
                   input = input.Replace(Strings.Events.onlinelistcommand, sb.ToString());
               }
Â
This is code of command "\onlinelist"
How to sort Level and player ( no need online) ?? thank
Question
mem981
if (input.Contains(Strings.Events.onlinelistcommand) ||
                   input.Contains(Strings.Events.onlinecountcommand))
               {
                   var onlineList = Globals.OnlineList;
                   input = input.Replace(Strings.Events.onlinecountcommand, onlineList.Count.ToString());
                   var sb = new StringBuilder();
                   for (var i = 0; i < onlineList.Count; i++)
                   {
                      Â
                       sb.AppendLine(onlineList.Name + " Lv: " + onlineList.Level + (i != onlineList.Count - 1 ? " | " : "") );
                     Â
                      Â
                      Â
                   }
                   input = input.Replace(Strings.Events.onlinelistcommand, sb.ToString());
               }
Â
This is code of command "\onlinelist"
How to sort Level and player ( no need online) ?? thank
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now