var fs = require('fs');
var selectors;
 
function writeIconCSS() {
        fs.appendFile('config/custom.css', selectors);
}
 
exports.commands = {
        sfis: function (target, room, user) {
                if (!this.can('eval'));
 
                var args = target.split(',');
                if (args.length < 3) return this.parse('/help seticon');
                var username = toId(args.shift());
                var image = 'background: rgba(244, 244, 244, 0.8) url("' + args.shift().trim() + '") right no-repeat;';
                selectors = '\n\n' + '  #' + toId(args.shift()) + '-userlist-user-' + username;
                args.forEach(function (room) {
                        selectors += ', #' + toId(room) + '-userlist-user-' + username;
                });
                selectors += ' { \n' + '    ' + image +  '\n  }';
 
                this.privateModCommand("(" + user.name + " has set an icon to " + username + ")");
                writeIconCSS();
        },
        seticonhelp: ["/sfis [username], [image], [room 1], [room 2], etc. - Sets an icon to a user in chosen rooms. Credits goes to Master Float in this."]
};

@@ -1,1146 +1,57 @@
-var fs = require('fs');%0Avar selectors;%0A %0Afunction writeIconCSS() %7B%0A        fs.appendFile('config/custom.css', selectors);%0A%7D%0A %0Aexports.commands = %7B%0A        sfis: function (target, room, user) %7B%0A                if (!this.can('eval'));%0A %0A                var args = target.split(',');%0A                if (args.length %3C 3) return this.parse('/help seticon');%0A                var username = toId(args.shift());%0A                var image = 'background: rgba(244, 244, 244, 0.8) url(%22' + args.shift().trim() + '%22) right no-repeat;';%0A                selectors = '%5Cn%5Cn' + '  #' + toId(args.shift()) + '-userlist-user-' + username;%0A                args.forEach(function (room) %7B%0A                        selectors += ', #' + toId(room) + '-userlist-user-' + username;%0A                %7D);%0A                selectors += ' %7B %5Cn' + '    ' + image +  '%5Cn  %7D';%0A %0A                this.privateModCommand(%22(%22 + user.name + %22 has set an icon to %22 + username + %22)%22);%0A                writeIconCSS();%0A        %7D,%0A        seticonhelp: %5B%22/sfis %5Busername%5D, %5Bimage%5D, %5Broom 1%5D, %5Broom 2%5D, etc. - Sets an icon to a user in chosen rooms. Credits goes to Master Float in this.%22%5D%0A%7D;
+HA! If you expect me to give you this code, think again.
 %0A

Update sfis.js