Just curious to know why you have for separate sets of the same buttons & lists? Why not just modify the list to fit except/ban/invite. Or you could use tabs. Very ridiculous to use a constant /did -h and /did -v. Using one set of lists, etc. would make this really simplified. I think what you were trying to do was change the way the inputs are displayed depending on the button? Not sure on that, but if you are, why not use a variable to determine the mode? Or even be creative and use $did. Also, you shouldn\'t let this script be available if you aren\'t an op with the ability to use this snippet. One last thing, if (%y == $true) should be equivalent to if (%y).