Subj : JS Formatting
To   : DesotoFireflite
From : Digital Man
Date : Sun Jul 10 2022 02:40 pm

 Re: JS Formatting
 By: DesotoFireflite to All on Sun Jul 10 2022 07:24 am

> I added a message option to send me an email everytime a new user was
> verified by the emailvar.js. It's working correctly, and I'm very satisfied
> with my efforts to make it work. The message it send to my email is as
> follows:
>
> -+- Snipit ----
> msgtxt = "New Member, Alias: " + user.alias + ", #: " + String(user.number)
> + ", Joined " + system.name + " Today " + (new Date());
> -+- Snipit ----
>
> expands as follows in the message:
>
> New Member, Alias: Tuff, #: 191, Joined Valhalla Home Services Today Sun Jul
> 10 7:15:32
>
> I would rather it to be somewhat like this:
>
> New Member Joined Valhalla Home Services Today Sun Jul 10 7:15:32.
>
>              Alias:  Tuff
>              Number: 191
>
> Is there a way to do this. For the like of me, I can't find a way to do this
> formatting. I'm successful in doing it in one line, but I'm trying to learn
> more. Thanks in advance.

msgtxt = "New Member Joined " + system.name + " Today " + new Date() + ".\r\n";
msgtxt += "\r\n             Alias: " + user.alias;
msgtxt += "\r\n            Number: " + user.number;
msgtxt += "\r\n";
--
                                           digital man (rob)

Breaking Bad quote #37:
only the very best... with just a right amount of dirty. - Saul
Norco, CA WX: 89.7�F, 33.0% humidity, 17 mph S wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net