• mpl

    From Dream Master@46:1/145 to All on Tue Jan 6 17:43:00 2015
    So I got some to compile no problem but they dont work. I altered grymmjacks clogin and it works great in 1.08 but 1.08 i dont see the on and off from the mps. if any one has time next two days help me squash this also the go-mnu that lets you //\\ compiles but does not work.

    Is there something in the new menus for 1.10 that might be holding me back?


    |08 ··[|15!|07dream master|15!|07DoRE|15!|07ACiDiC|15?|07demonic
    |08 ··[|15!|07dreamland|09.|07darktech|09.|07org

    --- Mystic BBS v1.10 A51 (Windows)
    * Origin: d i s t o r t i o n // d1st.org (46:1/145)
  • From Accession@46:1/701 to Dream Master on Tue Jan 6 18:28:54 2015
    Hello Dream,

    On 06 Jan 15 17:43, Dream Master wrote to All:

    Is there something in the new menus for 1.10 that might be holding me back?

    As far as I know, just throw out the stuff you used to know about MPL, and think more in the lines of free pascal. :)

    I can't help any further than that, as I have never programmed an MPL before, though I've edited stuff to fit my needs here and there.

    Regards,
    Nick

    --- GoldED+/LNX 1.1.5-b20130910
    * Origin: thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin) (46:1/701)
  • From Gryphon@46:1/116 to Dream Master on Tue Jan 6 17:41:33 2015
    On 01/06/15, Dream Master said the following...

    So I got some to compile no problem but they dont work. I altered grymmjacks clogin and it works great in 1.08 but 1.08 i dont see the on and off from the mps. if any one has time next two days help me squash this also the go-mnu that lets you //\\ compiles but does not work.

    Is there something in the new menus for 1.10 that might be holding me back?

    I'm trying to find grymmjacks clogin app, but I can't find it. Can you post
    it somewhere?

    "No matter where you go, there you are!" - Buckaroo Bonzai

    --- Mystic BBS v1.10 A59 (Linux)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (46:1/116)
  • From Dream Master@46:1/145 to Gryphon on Wed Jan 7 02:14:00 2015
    on 01/06/15, Gryphon said...
    I'm trying to find grymmjacks clogin app, but I can't find it. Can you post it somewhere?

    I got it to work. it had as you posted on face book missing end but the end
    was commented out and farther down. He never released it from what I remember.

    He gave it to me while back. god im old lol


    |08 ··[|15!|07dream master|15!|07DoRE|15!|07ACiDiC|15?|07demonic
    |08 ··[|15!|07dreamland|09.|07darktech|09.|07org

    --- Mystic BBS v1.10 A51 (Windows)
    * Origin: d i s t o r t i o n // d1st.org (46:1/145)
  • From Dream Master@46:1/145 to All on Mon Jan 12 00:18:00 2015

    so I updated my suicide mpl for 1.10 and it was working but stopped as in it was marking a user as deleted but now its not. I took the code from the mpl docs as such
    GetThisUser
    BitSet(3, UserFlags, True); // user is marked as deleted
    any ideas? everything else works inline with it.

    also I was using MX cmd to send the letter to the sysop with in the
    mpl and it does not work sending to the email base. It will send it to a message base or is this a bug?


    |08 ··[|15!|07dream master|15!|07DoRE|15!|07ACiDiC|15?|07demonic
    |08 ··[|15!|07dreamland|09.|07darktech|09.|07org

    --- Mystic BBS v1.10 A51 (Windows)
    * Origin: d i s t o r t i o n // d1st.org (46:1/145)
  • From Gryphon@46:1/116 to Dream Master on Mon Jan 12 09:02:15 2015
    On 01/12/15, Dream Master said the following...


    so I updated my suicide mpl for 1.10 and it was working but stopped as
    in it was marking a user as deleted but now its not. I took the code
    from the mpl docs as such
    GetThisUser
    BitSet(3, UserFlags, True); // user is marked as deleted
    any ideas? everything else works inline with it.

    when I put the new mpl.doc together, I based the info of the new changes on what I found in the whatsnew.txt file. It appears that the bitset
    description accidentaly showed us how to delete a user. Unfortunately, I
    could not find any other info on how to do that. It would also be nice to
    know what the other bits of UserFlags control.

    also I was using MX cmd to send the letter to the sysop with in the
    mpl and it does not work sending to the email base. It will send it to a message base or is this a bug?

    It might need to be the perm index number of the email base. I don't know if they are the same or not, but you might try that.

    "No matter where you go, there you are!" - Buckaroo Bonzai

    --- Mystic BBS v1.10 A59 (Linux)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (46:1/116)
  • From Dream Master@46:1/145 to Gryphon on Mon Jan 12 18:44:00 2015
    on 01/12/15, Gryphon said...
    BitSet(3, UserFlags, True); // user is marked as deleted any ideas? everything else works inline with it.
    when I put the new mpl.doc together, I based the info of the new changes on what I found in the whatsnew.txt file. It appears that the bitset description accidentaly showed us how to delete a user. Unfortunately, I

    Well thats what I want it to do when they comit suicide. It was working before but it is now not.
    also I was using MX cmd to send the letter to the sysop with in the mpl and it does not work sending to the email base. It will send it message base or is this a bug?
    It might need to be the perm index number of the email base. I don't
    know if they are the same or not, but you might try that.

    I tried it and it's not working for me. when I set it to 1 it goes to base 1. when I put it to 0 nothing. mutil i put 1 and it sends to email.


    |08 ··[|15!|07dream master|15!|07DoRE|15!|07ACiDiC|15?|07demonic
    |08 ··[|15!|07dreamland|09.|07darktech|09.|07org

    --- Mystic BBS v1.10 A51 (Windows)
    * Origin: d i s t o r t i o n // d1st.org (46:1/145)
  • From Dream Master@46:1/145 to All on Mon Jan 12 18:47:00 2015
    Im getting operator expected.
    i have tmpstr declaired as a string and when i want to pass a time it says operator expected. This is the line

    tmpstr := timestr(datetime,0);

    i just want to copy the time in 24hour format to tempstr..

    is it me?



    |08 ··[|15!|07dream master|15!|07DoRE|15!|07ACiDiC|15?|07demonic
    |08 ··[|15!|07dreamland|09.|07darktech|09.|07org

    --- Mystic BBS v1.10 A51 (Windows)
    * Origin: d i s t o r t i o n // d1st.org (46:1/145)
  • From Gryphon@46:1/116 to Dream Master on Mon Jan 12 20:06:38 2015
    On 01/12/15, Dream Master said the following...

    on 01/12/15, Gryphon said...
    BitSet(3, UserFlags, True); // user is marked as del any ideas? everything else works inline with it.
    when I put the new mpl.doc together, I based the info of the new chan on what I found in the whatsnew.txt file. It appears that the bitset description accidentaly showed us how to delete a user. Unfortunatel

    Well thats what I want it to do when they comit suicide. It was working before but it is now not.
    also I was using MX cmd to send the letter to the sysop with in mpl and it does not work sending to the email base. It will sen message base or is this a bug?
    It might need to be the perm index number of the email base. I don't know if they are the same or not, but you might try that.

    I tried it and it's not working for me. when I set it to 1 it goes to base 1. when I put it to 0 nothing. mutil i put 1 and it sends to email.

    Since the email base is private, are you sure you're addressing the message properly? Are you certain its *not* there? If the spelling of your name is off, mystic may not accept it as a valid user, and then reject the message.

    "No matter where you go, there you are!" - Buckaroo Bonzai

    --- Mystic BBS v1.10 A59 (Linux)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (46:1/116)
  • From Gryphon@46:1/116 to Dream Master on Mon Jan 12 20:08:40 2015
    On 01/12/15, Dream Master said the following...

    Im getting operator expected.
    i have tmpstr declaired as a string and when i want to pass a time it
    says operator expected. This is the line

    tmpstr := timestr(datetime,0);

    i just want to copy the time in 24hour format to tempstr..

    is it me?

    Did you see my response on FB yet?

    The timestr function has the same requirements as the datestr function. I'm pretty sure I didn't update the timestr function with the new requirements
    in my updated mpl docs. Anyways, change 0 to UserDateStr if you want it to follow the user's date/time format. Or just force the issue with a 1 and
    make it do MM/DD/YY.

    "No matter where you go, there you are!" - Buckaroo Bonzai

    --- Mystic BBS v1.10 A59 (Linux)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (46:1/116)
  • From Dream Master@46:1/145 to Gryphon on Tue Jan 13 02:57:00 2015
    on 01/12/15, Gryphon said...
    Since the email base is private, are you sure you're addressing the message properly? Are you certain its *not* there? If the spelling of your name is off, mystic may not accept it as a valid user, and then reject the message.

    it works with the same syntax i used in mutil. The desription for the command is post a text file to a message base so I dont think it will do it internaly unless g00r00 cam tell us...


    |08 ··[|15!|07dream master|15!|07DoRE|15!|07ACiDiC|15?|07demonic
    |08 ··[|15!|07dreamland|09.|07darktech|09.|07org

    --- Mystic BBS v1.10 A51 (Windows)
    * Origin: d i s t o r t i o n // d1st.org (46:1/145)
  • From Dream Master@46:1/145 to Gryphon on Tue Jan 13 02:59:00 2015
    on 01/12/15, Gryphon said...
    Did you see my response on FB yet?

    yes
    The timestr function has the same requirements as the datestr function. I'm pretty sure I didn't update the timestr function with the new requirements in my updated mpl docs. Anyways, change 0 to UserDateStr
    if you want it to follow the user's date/time format. Or just force the issue with a 1 and make it do MM/DD/YY.

    but im not going by a date. Im going by hours and min a sysop is available that is set in military time in the hours.txt


    |08 ··[|15!|07dream master|15!|07DoRE|15!|07ACiDiC|15?|07demonic
    |08 ··[|15!|07dreamland|09.|07darktech|09.|07org

    --- Mystic BBS v1.10 A51 (Windows)
    * Origin: d i s t o r t i o n // d1st.org (46:1/145)
  • From Gryphon@46:1/116 to Dream Master on Tue Jan 13 10:31:10 2015
    On 01/13/15, Dream Master said the following...

    on 01/12/15, Gryphon said...
    Did you see my response on FB yet?

    yes
    The timestr function has the same requirements as the datestr functio I'm pretty sure I didn't update the timestr function with the new requirements in my updated mpl docs. Anyways, change 0 to UserDateSt if you want it to follow the user's date/time format. Or just force issue with a 1 and make it do MM/DD/YY.

    but im not going by a date. Im going by hours and min a sysop is
    available that is set in military time in the hours.txt

    You are correct. I just checked a number of my scripts that use TimeStr, and the format is:
    TimeStr(LongInt,Boolean)
    I don't know what the Boolean does. You can try both true and false and see how it differs.

    I can see it is a departure from the pre1.10 format. My older scripts use
    the format:
    TimeStr(LongInt,Byte)

    "No matter where you go, there you are!" - Buckaroo Bonzai

    --- Mystic BBS v1.10 A59 (Linux)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (46:1/116)
  • From Gryphon@46:1/116 to Gryphon on Tue Jan 13 10:36:11 2015
    On 01/13/15, Gryphon said the following...

    On 01/13/15, Dream Master said the following...

    on 01/12/15, Gryphon said...
    Did you see my response on FB yet?

    yes
    The timestr function has the same requirements as the datestr fu I'm pretty sure I didn't update the timestr function with the ne requirements in my updated mpl docs. Anyways, change 0 to UserD if you want it to follow the user's date/time format. Or just f issue with a 1 and make it do MM/DD/YY.

    but im not going by a date. Im going by hours and min a sysop is available that is set in military time in the hours.txt

    You are correct. I just checked a number of my scripts that use
    TimeStr, and the format is:
    TimeStr(LongInt,Boolean)
    I don't know what the Boolean does. You can try both true and false and see how it differs.


    Ok, I tried it. When using TRUE, it adds an 'a' or 'p' to the time. False will add nothing.

    WriteLn(TimeStr(DateTime,True))
    10:33a

    WriteLn(TimeStr(DateTime,False))
    10:33

    "No matter where you go, there you are!" - Buckaroo Bonzai

    --- Mystic BBS v1.10 A59 (Linux)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (46:1/116)
  • From Dream Master@46:1/145 to Gryphon on Tue Jan 13 21:08:00 2015
    on 01/13/15, Gryphon said...
    but im not going by a date. Im going by hours and min a sysop is available that is set in military time in the hours.txt
    You are correct. I just checked a number of my scripts that use
    TimeStr, and the format is:
    TimeStr(LongInt,Boolean)
    I don't know what the Boolean does. You can try both true and false and see how it differs.

    i did that and it worked try it. i wish we knew what still works and does
    not because the whats new stopped being updates after a certain alpha... now the new issues is delete() is not working. I have

    tempstr := timestr(datetime,false);
    delete(tempstr,6,3);

    I have it set to display the result. the result is still
    xx:xx format. the : should be xxxx after delete. or am i wrong in the delete with the 3?


    |08 ··[|15!|07dream master|15!|07DoRE|15!|07ACiDiC|15?|07demonic
    |08 ··[|15!|07dreamland|09.|07darktech|09.|07org

    --- Mystic BBS v1.10 A51 (Windows)
    * Origin: d i s t o r t i o n // d1st.org (46:1/145)
  • From Dream Master@46:1/145 to Gryphon on Tue Jan 13 21:09:00 2015
    on 01/13/15, Gryphon said...
    Ok, I tried it. When using TRUE, it adds an 'a' or 'p' to the time. False will add nothing.
    WriteLn(TimeStr(DateTime,True))
    10:33a
    WriteLn(TimeStr(DateTime,False))
    10:33

    false makes it miltary time as you posted on fb but I guess this post reply is redundant now. lol


    |08 ··[|15!|07dream master|15!|07DoRE|15!|07ACiDiC|15?|07demonic
    |08 ··[|15!|07dreamland|09.|07darktech|09.|07org

    --- Mystic BBS v1.10 A51 (Windows)
    * Origin: d i s t o r t i o n // d1st.org (46:1/145)
  • From wkitty42@46:1/132 to Gryphon on Tue Jan 13 22:57:09 2015
    On 01/13/15, Gryphon said the following...

    Ok, I tried it. When using TRUE, it adds an 'a' or 'p' to the time. False will add nothing.

    so TRUE is 12 hour format and FALSE is 24 hour (aka military) format ;)

    --- Mystic BBS v1.10 A57 (Windows)
    * Origin: (46:1/132)
  • From Gryphon@46:1/116 to Dream Master on Wed Jan 14 08:39:39 2015
    On 01/13/15, Dream Master said the following...

    tempstr := timestr(datetime,false);
    delete(tempstr,6,3);

    I have it set to display the result. the result is still
    xx:xx format. the : should be xxxx after delete. or am i wrong in the delete with the 3?

    I don't know if that will get you what you want. Given that the time string
    is in the format of HH:MM:SS. But you want it to convert to HHMM, yes?

    Time String 10:11:12
    Position 12345678

    Deleting the last 3 chars, starting at position 6 would give you "10:11", not "1011". You still need to run a separate command to delete the ':' in the middle.

    tempstr := TimeStr(DateTime,False)
    Delete(tempstr,6,3)
    Delete(tempstr,3,1)

    You will need to do both of those Delete commands.

    "No matter where you go, there you are!" - Buckaroo Bonzai

    --- Mystic BBS v1.10 A59 (Linux)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (46:1/116)
  • From wkitty42@46:1/132 to Gryphon on Wed Jan 14 22:30:58 2015
    On 01/14/15, Gryphon said the following...

    tempstr := TimeStr(DateTime,False)
    Delete(tempstr,6,3)
    Delete(tempstr,3,1)

    you should be able to combine them, too, shouldn't you?

    Delete(Delete(tempstr,3,1),6,3);

    i'm not where i can look at any code examples or documentation right now :/

    --- Mystic BBS v1.10 A57 (Windows)
    * Origin: (46:1/132)
  • From Gryphon@46:1/116 to wkitty42 on Wed Jan 14 22:32:21 2015
    On 01/14/15, wkitty42 said the following...

    On 01/14/15, Gryphon said the following...

    tempstr := TimeStr(DateTime,False)
    Delete(tempstr,6,3)
    Delete(tempstr,3,1)

    you should be able to combine them, too, shouldn't you?

    Delete(Delete(tempstr,3,1),6,3);

    i'm not where i can look at any code examples or documentation right now :/

    I like Delete(Replace(TempStr,':',''),5,2). That one will delete all the colons ':' and then trim off the last 2 digits (chars).

    "No matter where you go, there you are!" - Buckaroo Bonzai

    --- Mystic BBS v1.10 A59 (Linux)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (46:1/116)
  • From dream master@46:1/102 to Gryphon on Thu Jan 15 02:38:45 2015
    On 01/14/15, Gryphon said the following...
    Deleting the last 3 chars, starting at position 6 would give you
    "10:11", not "1011". You still need to run a separate command to delete the ':' in the middle.
    tempstr := TimeStr(DateTime,False)
    Delete(tempstr,6,3)
    Delete(tempstr,3,1)

    yeah got that far but im getting my self lost on what is being converted to i can do the equation since this part of the mpl is no longer yeilding the
    proper results:
    ----
    hour1 := sstart / 60;
    hour2 := send / 60;
    mins1 := sstart % 60;
    mins2 := send % 60;

    so im prolly gonna re write it to its cleaner. i forgot i can make the
    screens bigger with the fonts so it's not so hard on my eyes lol

    --- Mystic BBS v1.10 A59 (Windows)
    * Origin: fluph.darktech.org (46:1/102)
  • From wkitty42@46:1/132 to Gryphon on Thu Jan 15 19:45:34 2015
    On 01/14/15, Gryphon said the following...

    Delete(Delete(tempstr,3,1),6,3);

    i'm not where i can look at any code examples or documentation right :/

    I like Delete(Replace(TempStr,':',''),5,2). That one will delete all the colons ':' and then trim off the last 2 digits (chars).

    there is that way, too! :) :lol:

    --- Mystic BBS v1.10 A57 (Windows)
    * Origin: (46:1/132)
  • From wkitty42@46:1/132 to dream master on Thu Jan 15 19:46:55 2015
    On 01/15/15, dream master said the following...

    yeah got that far but im getting my self lost on what is being converted to i can do the equation since this part of the mpl is no longer
    yeilding the proper results:
    ----
    hour1 := sstart / 60;
    hour2 := send / 60;
    mins1 := sstart % 60;
    mins2 := send % 60;

    so what, exactly, are you trying to do here??? you get the time and then what are you trying to spit out from it at the end of the process??

    --- Mystic BBS v1.10 A57 (Windows)
    * Origin: (46:1/132)
  • From Dream Master@46:1/145 to wkitty42 on Thu Jan 15 22:22:00 2015
    on 01/15/15, wkitty42 said...
    so what, exactly, are you trying to do here??? you get the time and then what are you trying to spit out from it at the end of the process??

    It will show you the sysop is available or not buy the hours set in the
    text file with a start and end time both in xxxx format. no :....


    |08 ··[|15!|07dream master|15!|07DoRE|15!|07ACiDiC|15?|07demonic
    |08 ··[|15!|07dreamland|09.|07darktech|09.|07org

    --- Mystic BBS v1.10 A51 (Windows)
    * Origin: d i s t o r t i o n // d1st.org (46:1/145)
  • From g00r00@46:1/127 to wkitty42 on Fri Jan 16 05:41:52 2015
    you should be able to combine them, too, shouldn't you?

    Delete(Delete(tempstr,3,1),6,3);

    i'm not where i can look at any code examples or documentation right now

    Not in this particular case because Delete is not a function its a procedure.

    You could however use Copy like Str := Copy(Str, 1, 2) + Copy(Str, 4, 5)

    --- Mystic BBS v1.10 A60 (Windows)
    * Origin: Sector 7 [Mystic BBS WHQ] (46:1/127)