Basic admin help

Hi, I am a new scripter and have a question on basic admin essentials 2.0.

The issue is I have been trying to make it possible to run /e in front of a command. Example: /e :kick hill

I have tried to script it and none of which has worked. I also tried to make plugins and that didn’t work.

I have also looked it up and have had no success.

If would be happy if you could give me some support.

The second it detects " :" (With a space before the command) it should automatically assume that you’re running a command, and then run your normal checks to see what command is being ran.

I have tried that, it has not worked. Basic admin only detects the command if the prefix is the first thing.

But I have seen games that allow you to use /e so I know it’s possible.

Are you sure you are doing a proper sequence check for each char?

Sorry I am a new scripter and don’t know what you mean by that.

https://www.lua.org/pil/20.2.html

Also if you are new I recommend you learn the basics

Thank you, that helped but I still am having trouble with making it possible to use /e.

This is my code if it helps:

if string.tab(message,1,3) == "/e " then
message = string.tab(message,4)
end