1. How to do that, when I use command in console, plug-in check, what I enter with command and allow only certain symbol. For example "a/b/c ; ab; ac; bc; etc."
I tried do with contain , but if enter "a" with other letter "f" or "g" plug-in continue work.. tried with equal.. work only with one letter ((
Code:
if((contain(arg, "a") != -1) || (contain(arg, "b") != -1) || (contain(arg, "c") != -1))
2. What is it better to use ?
show_activity with case or
show_activity_key ?