BetterChat

Moved

Total Downloads: 26,200 - First Release: Apr 21, 2015 - Last Update: Jan 12, 2018

4.9898/5, 98 likes
  1. There i didnt see nothing wrong there but you might see
     

    Attached Files:

  2. I wont post all the mistake you done then :)
    upload this then reload the plugin
     

    Attached Files:

  3. I changed priorities right how they should work? and can i make multiple color prefix?
     
    Last edited by a moderator: Aug 23, 2016
  4. i cant seem to find that where is it located?
     
  5. It is located at your "server\myrustserver\oxide\data\betterchat\"
     
  6. oh ok thanks. this is mine:
     

    Attached Files:

  7. In rcon type
    reload BetterChat
    After uploading the file
    [DOUBLEPOST=1471978288][/DOUBLEPOST]
    You priorities where wrong and many other things if you use the one I posted for you it will work without any more problems just dont use this one below this is for another user and each tag can have its own colour for each group if thats what you are asking
     

    Attached Files:

    Last edited by a moderator: Aug 23, 2016
  8. ok thanks a ton
     
  9. glad to help
    [DOUBLEPOST=1471978663][/DOUBLEPOST]
    i mean like can you change color of every letter in prefix?
     
  10. If you mean like each letter in say Owner is a different colour then I have never tested that
     
  11. Thats what i ment im trying to solve it out too! Im like trying to make vip when you buy vip you get star and you can buy vip three times max and then you will get two more stars and i want to those stars got different colours and of course you will get extra /kits and things when you buy it but yeah
     
    Last edited by a moderator: Aug 23, 2016
  12. The only way would be to have a different line for each color, then the script redone so it changes the titles to rainbow colours
    This is only a sample, please do not add this to the code
    Code:
    public static string Rainbow(string text)
        {
            int numColors = 1000;
            var colors = new List<string>();
            var random = new Random();    
           for(int i =0; i <256; i++)
           {
                colors.Add(String.Format("#{0:X2}{1:X2}00", i,255-i));
           }        string rainbow = "";
            int index = 0;
            foreach (char c in text)
            {
                rainbow += String.Format("<span style='color: {0};'>{1}</span>", colors[index], c.ToString());            if (index > numColors)
                    index = 0;
                else
                    index++;
            }        return rainbow;
        }
     
    Last edited by a moderator: Aug 23, 2016
  13. You need to update your oxide version.
     
  14. I got it i made 3 different vip groups and gave same priorities to them and colored their own prefix stars upload_2016-8-23_22-18-29.png
     
  15. Each group needs a different priority but up to you what way you want to do it
     
  16. Why? its like same group but one different permission and prefix?
     
  17. As I said do it the way you want if it works for you go with it but if you mess it up then use the one above
     
  18. Could you help me to improve this plugin for Rustlegacy?
    Well, I'm using it to RustLegacy he copila carries, all commands work the only problem is that it works very well with no Rust Legacy.

    as you can see in print attached, the top line is the EasyChat plugin (suitable for RustLegacy)
    and the bottom line is the BetterChat plugin.

    Well, I wanted the plug remain on the top line appearing:
    clan Nick: Message

    Note: the EasyChat perfectly meets the needs Rustlegacy but I wanted to use the BetterChat to link with the clans plugin for without beetterchat not appear the clan tag before the nick


    Captura de Tela (48).png
     
  19. ah okay thanks ;)
     
  20. Okay thanks for helping!