How about logblock?

Discussion in 'Other/Uncategorized Suggestions Archive' started by InactiveMatt, Sep 14, 2012.

?

Who wants to get LogBlock back to help save our server?

Poll closed Oct 14, 2012.
  1. I do!

    94.1%
  2. I don't. (bad choice)

    5.9%
Thread Status:
Not open for further replies.
  1. Mage49
    Offline

    Mage49 Member

    Joined:
    Sep 15, 2012
    Messages:
    68
    Is it possible to change /bl rollback to something like /lb f***off (to prevent accidental use) and just ban mods from using it? That or make the mod who screws it up answer all the complaints about the rollback for the next 2 days.
    Even without rollback its still worth using.
     
  2. JeffCiv
    Offline

    JeffCiv Active Member

    Joined:
    Sep 19, 2012
    Messages:
    1,094
    by Andrew:
    Then write a script to require an argument after "player", lol.

    Even DOS Batch scripting can do that easily!

    If that (human data entry error) is merely what was causing the "rollback problems" we had 2 months ago, well we need to spend a little time in making scripts of common commands which check for errors before sending them to the server. ;)
     
  3. JeffCiv
    Offline

    JeffCiv Active Member

    Joined:
    Sep 19, 2012
    Messages:
    1,094
    You dont block the command. You replace the command with something new, and encapsulate it into a new script/batch command.

    For instance, instead of "rollback xxxx yyyy zzzz" you make one called "rb xxxx yyyy zzzz" and then error check the arguments within the script/batch. If arguments should be limited, or if they are required to be present, the command would be rejected with an error message from the script/batch. If it passes error checking, then the command and its arguments would be passed to "rollback xxxx yyyy zzzz" and executed.
     
Thread Status:
Not open for further replies.

Share This Page