Permission Based Responses!


I would like to create simple command, that allows people to check what permission level they are (mod, sub & etc). Is there away to pull that data for custom script work?

Thank you in advance,



If you are creating your own module, there is a function that can return the name of a user’s permission level $.getUserGroupName(username). Calling that in your module should return a string containing the user’s group.


Thank you master of pants! This is actually what I am looking for!


If you want to keep things simple, you can add this to a custom command response.

(runcode $.say("You currently have " + $.getUserGroupName(event.getSender()) + " permissions.");)


Thank you! I pretty sure I can use this to alter some responses in my module, I wanted the command to have difference response per permission.