Skip to content

Commit

Permalink
Added around options
Browse files Browse the repository at this point in the history
  • Loading branch information
RhinosF1 authored Feb 23, 2019
1 parent 96c5e3c commit 8d7fe86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions StatusChanger.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
// Modified by Xenocidic to simply use /Status as a one word indicator,
// Modified by Kraftlos to include Sleep status
// Modified by APerson for compatibility with {{UserStatus}}
// compatible with {{Statustop}} for display
// Modified by RhinosF1 for compatibili with his script.
// compatible with {{User:RhinosF1/Template/StatusMonitor}}
addOnloadHook(function (){
//Check if the config is defined
if (typeof(statusChangerConfig) == 'undefined') {
statusChangerConfig = {}
}

if (typeof(statusChangerConfig.statusList) == 'undefined') {
statusChangerConfig.statusList = [ 'online', 'offline', 'sleeping' ];
statusChangerConfig.statusList = [ 'online', 'offline', 'sleeping', 'around(A)', 'around(R)' ];
}

if (typeof(statusChangerConfig.statusPage) == 'undefined') {
Expand Down

0 comments on commit 8d7fe86

Please sign in to comment.