Jump to content

Daniel

Wiki Editors
  • Posts

    1,459
  • Joined

  • Last visited

  • Days Won

    42

Posts posted by Daniel

  1. 2 minutes ago, SlOom said:

    If yes, I like the idea but it can be improved more so it's useful for everyone (except guest and banned).

     

    Example: I'm member, but i have the choice to get guest.

    Example 2: I'm a moderator, but i have the choice to get member or guest.

    Example 3: I'm a owner, but i have the choice to get moderator, member, or guest.

    Example 4: I'm a main owner, but i have the choice to get owner, moderator, member or guest.

     

    I don't know if you get my idea to make it useful for everyone. 

    The only thing is, I don't really see why an owner would choose to be a moderator etc. 

     

    I can make sense of the fact that main owners may set some GControl settings, like ban time, and then test it as a moderator (without having 2 accounts). However, I owners don't really have access to these settings. You could argue that owners may want to test bot commands and stuff which could be true.

     

    I guess it could be added to GControl but with the addition you mentioned (you can only make yourself a lower rank). That way main owners can choose if they want their staff members to be able to change ranks.

    • Award 1
  2. The name doesn't really match what you're suggesting, but a power like this could be quite useful for main owners testing various things. A few things off the top of my head would be rank-based scroll messages, gcontrol settings and bot minimum ranks.

     

    I think this should be restricted to main owners only, with no GControl option, as someone who is mod shouldn't be able to make themself an owner and so on.

    • Award 1
  3. 6 minutes ago, Angelo said:

    Works on debug chats, at least:

    /debug fps 5 (slow)
    /debug fps 30 (somewhat normal)

    /debug fps 60 (quick)

    /debug fps 120 (super-quick)

    I'm assuming that the suggestion is that the person who sets the scroll controls the speed. 

     

    I can see this as being useful, the current speed is adequate for smaller scrolls, but for longer scrolls it does take a mildly annoying amount of time to scroll completely.

  4. 15 hours ago, adam_ said:

    You want your private conversations to be saved in a database that was previously breached?

     

    Whatever floats your boat...

    Implying they’re not already stored

    • Award 1
  5. 2 hours ago, Admin said:

    And it will get better, at least 10, maybe 20 hats

    Ok but (hat) has 11 hats plus however many limited pawns are available at the time for 100 xats and EVEN if this power had 30 hats it wouldn’t make sense to cost 500 xats.

     

    Who cares it's only 500 xats? Well remember that 500 xats is a whole $5 and normally 11 hats would be $1. From this point of view it’s just xat pulling prices out of thin air and charging whatever they feel like for something that we have been asking to be added for 2 years to absolutely milk the living hell out of it. 

    • Award 4
  6. 8 hours ago, Admin said:

    Why is this better than setting your status on the chat ?

    Basically so users can make their own features without relying on bot providers. 

    • Award 2
  7. 45 minutes ago, Samuel said:

    That must be changed or better specified

    Not everyone buys powers for the sake of maintaining every power (believe it or not). This sentence is in reference to the fact that this power doesn’t provide anything in and of itself (besides pawns/smilies) and it is dependant on what bot providers can provide, so don’t buy the power until you’ve looked at what they provide and that they provide what you need.

    • Award 1
  8. 40 minutes ago, Tox1c said:

    [...] That way if it makes sense [...]

    Does it?

     

    The only reason you'd want to do this is so that you can have a name that... you can't have. If I have the name Daniel I don't want another person with the same name, whether I'm "worthy" enough to be impersonated or not.

    • Award 1
    • Confused 2
  9. 1 minute ago, Crow said:

    Would we allow clubs to completely change their identity/purpose, though? This might not be fair on members who joined beforehand...

    No, make a new club.

     

    Capitalisation changes should be the only ones allowed.

  10. 8 hours ago, Dann said:

    "I am paying to get a power that allows different ranks to see different messages on the scroll ?" uhh WHY?

    So the scroller feature is available to everyone, but this is an upgrade to the scroller feature that allows greater customisation? Seems like a perfect example of what a power should be (free vs premium features). 

    • Award 1
  11. If im correct, if you do:

     

    ”/sgHello guests!”

    ”/soHello owners!”

     

    Then “/sHello everyone else””

     

    Everything is cleared and only the /s message is shown?

     

    What about:

     

    ”/sHello all!”

    ”/soBan all trolls!”

     

    Does this clear the /s message?

     

    The way it should work is that that: 

    /s = default (shows if no rank specific scroll is set)

     

  12. I got bored and created a user script that does exactly this. Have fun I guess.

    Spoiler
    
    // ==UserScript==
    // @name         xat Lang tools
    // @version      1.0
    // @description  xat Lang exporter and importer
    // @author       Daniel
    // @match        https://xat.com/web_gear/chat/GroupOptionEdit.php*
    // @grant        none
    // @require      http://code.jquery.com/jquery-3.3.1.slim.min.js
    // ==/UserScript==
    
    function main() {
        //Add buttons
        $('body').prepend('<h1>Export/Import</h1><p id="langmsg"></p><button type="button" onclick="exportLang()">Export</button> <input type="button" value="Import" onclick="document.getElementById(\'file\').click();" /><input type="file" style="display:none;" id="file" name="file" onchange="importLang();" accept=".xatlang"/><br/><h1>Lang settings</h1>');
    
        //Inject functions
        var script = document.createElement("script");
        script.textContent += exportLang.toString() + "\n";
        script.textContent += importLang.toString() + "\n";
        document.body.appendChild(script);
    }
    
    function exportLang() {
        exportObj = {};
    
        $("tr").each(function() {
            var input = $(this).find("input");
            var value = input.val();
    
            if(value == undefined) {
                return true;
            }
    
            var id = input.attr('id');
    
            if (value.trim()) {
                exportObj[id] = value;
            }
        });
    
        if(Object.keys(exportObj).length < 1){
            $('#langmsg').text("No options to export.");
        }
        else{
            data = encodeURI("data:text/json;charset=utf-8," + JSON.stringify(exportObj));
    
            url = new URL(window.location.href);
            searchParams = new URLSearchParams(url.search);
            roomid  = searchParams.get('roomid');
    
            link = document.createElement('a');
            link.setAttribute('href', data);
            link.setAttribute('download', roomid + '.xatlang');
            link.click();
            link.remove();
        }
    }
    
    function importLang() {
        var $i = $( '#file' ), input = $i[0];
    
        if (input.files && input.files[0]) {
            file = input.files[0];
            fr = new FileReader();
            fr.readAsText(file);
            fr.onload = function () {
                data = JSON.parse(fr.result);
    
                for (var key in data) {
                    $("#" + key).val(data[key]);
                }
            };
        } else {
            alert( "File not selected or browser incompatible.");
        }
    }
    
    if (/\bid=206\b/.test (location.search) ) {
        main();
    }

     

     

    That one xat browser extension could add things like this.

    • Award 3
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.