(15 Mar 14, 10:15PM)RandumKiwi Wrote:(15 Mar 14, 10:59AM)RandumKiwi Wrote: Yep (and, there's no other way to do this unfortunately). Btw, DNS lookups lag.
Assuming you can understand my script, you could make the script match against the server description, rather than the DNS or IP, read the following: http://assault.cubers.net/docs/reference..._curserver
Actually, I just went to go test things, none of these work:
/echo (curserver 5)
/echo (curserver 6)
/echo (curserver 7)
/echo (curserver 8)
Oh well, too bad.
/echo (curserver 6) actually works for me but my script still ain't working
[SELECT ALL] Code:
sudoparam = ["Mousikos" "gibbed.me"]
sudopass = ["MousikosPass" "gibbedPass"]
sudocnt = (listlen $sudoparam)
sudo = [loop i $sudocnt [ if (!= (strpos (curserver 6) (at $sudoparam $i)) -1) [setadmin 1 (at $sudopass $i); break ] ] ]