vendredi 7 mars 2014

[Q] Simple coniditionals OR query topic




Hi all,

I'd like to show wifi status not as numbers but as off / on / enabled

State in numbers being as per:

#NWSTATE# WiFi State (0 disabled, 1 enabled, 2 connected)

So far I've manage to code as follows for off or on:

Wifi $#NWSTATE#=0?disabled:enabled$

how do I modify the code to show the 3rd state of connected please?





Aucun commentaire:

Enregistrer un commentaire