BrotherBethuel Posted April 28 Share Posted April 28 on tab complete of "/warpedit", "/warpe" or "/wedit": set tab completions for position 1 to "add", "remove", "list", "show", "location", "setname", "help" and "hide" if tabarg-1 is "remove", "hide", "show" or "location": set tab completions for position 2 to {adminwarplist::*} the error is in if tabarg-1 is "remove", "hide", "show" or "location": error message: cant compare tabarg-1 with a text Link to comment Share on other sites More sharing options...
DaemonDeathAngel Posted April 28 Share Posted April 28 on tab complete of "/warpedit", "/warpe" or "/wedit": set tab completions for position 1 to "add", "remove", "list", "show", "location", "setname", "help" and "hide" if tab arg-1 = "remove", "hide", "show" or "location": set tab completions for position 2 to {adminwarplist::*} Simple as that. You have some syntax errors. Compare yours side by side, and you'll see the slight differences Link to comment Share on other sites More sharing options...
BrotherBethuel Posted April 29 Author Share Posted April 29 thank you! i really needed that! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now