15 Mar 14, 11:37PM
(This post was last modified: 16 Mar 14, 12:09AM by RandumKiwi.)
[SELECT ALL] Code:
SERVERSTRINGS = [ STRING1 STRING2 ]
SERVERPASSES = [ ADMINPASS1 ADMINPASS2 ]
sudo = [ if (= (currole) 0) [ loop i (listlen $SERVERSTRINGS) [ if (strstr (curserver 6) (at $SERVERSTRINGS $i)) [ setadmin 1 (at $SERVERPASSES $i); break ] ] ] [ setadmin 0 ] ]
* Note, that all ports on the same IP, must use the same password!
* Note, that each IP in the list, must be in the same order as each password in the list.
For those that like this take-admin script better, it's been updated in the list: http://ac-akimbo.net/showthread.php?tid=...76#pid2876