This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
sdk:scripts:best-operator [2023/06/26 10:07] – dodenhoeft | sdk:scripts:best-operator [2023/06/30 12:25] (current) – dodenhoeft | ||
---|---|---|---|
Line 59: | Line 59: | ||
if (is_void(net) || is_void(lai) || is_void(status)) continue; | if (is_void(net) || is_void(lai) || is_void(status)) continue; | ||
- | if (trim(tolower(status)) == "Available" && net != "" | + | if (trim(tolower(status)) == "available" && net != "" |
nb_syslog(" | nb_syslog(" | ||
networks[netcount++] = mkstruct(" | networks[netcount++] = mkstruct(" | ||
Line 95: | Line 95: | ||
status = nb_status(" | status = nb_status(" | ||
s = (int) struct_get(status, | s = (int) struct_get(status, | ||
- | if (s < -113) { | + | if (s > -113) { |
signal = s; | signal = s; | ||
nb_syslog(" | nb_syslog(" |