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