History on connect

Do you have issues with your Hubsoft? Or maybe you just have or need an advice?
Post your question or opinion here
Post Reply
Burner
Posts: 4
Joined: Tue Oct 11, 2022 9:52 am

History on connect

Post by Burner »

Is there any way you can get the history (of mainchat of course) when you connect ?

Sorry I was unclear ...This is in Ynhub ....Edited

Burner
Last edited by Burner on Wed Oct 12, 2022 4:57 pm, edited 1 time in total.
User avatar
Freyja
Site Admin
Posts: 24
Joined: Tue Apr 27, 2021 12:30 pm
Location: Cluj-Napoca, Transilvania
Contact:

Re: History on connect

Post by Freyja »

Yes it is. In luadch hubs is !history show 100 or the number of lines you want to see. And in normal hubs is !history 100 or the number of line you wish to see
We are all born alone and die alone.The loneliness is definitely part of the journey of life
Burner
Posts: 4
Joined: Tue Oct 11, 2022 9:52 am

Re: History on connect

Post by Burner »

Sorry but this was not the question , I know you can do the command .
In ynhub the command is +history .
I want this as part of the connect message you get when you connect .
In TheFirstOnes the chatlog appear at the end of connect message , I want something like that .

my welcome screen....

[09:34] <-YnHub-> YnHub version: 1.036 produced by Yoshi, Nev and Todi.
[09:34] <-YnHub-> Your nickname is registered, please provide a password
[09:34] *** Lagret passord sendt...
[09:34] <-CORE-> Current user count: ** after 66:17:30:55 uptime
[09:34] <-CORE-> Current sharesize is: ***** TiB

.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:.


Hi and welcome to ***************


.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:.


These are the Rules we lives by:

1. Share At least 5 GB
2. Dont Share Child Porn or other abusive stuff
3. Be nice
4. Share what you have downloaded here
5. We are not online all the time , but we like you to stay online
after you ask to be regged, we like to check your share first.
6. No Fake files , no files with only numbers as names .
7. No Shareaza , owner or other shit in description . If in doubt ask !!
8. Give Boony a slot when he ask , otherwise you will be kicked
9. Get Active : Portforward : https://portforward.com/router.htm

*********************

+Regme
+History 30 give last 30 lines and so on , no number last 20
+Coffee
+Rules
+Dc-Clients
User avatar
curse
Site Admin
Posts: 15
Joined: Tue Apr 27, 2021 12:04 pm
Location: Gran Canaria, Spain
Contact:

Re: History on connect

Post by curse »

in cfg/cfg.tbl

Code: Select all

  --// etc_chatlog.lua settings | shows the mainchat history on login

    etc_chatlog_permission = {    -- who is allowed to see the chatlog? (array of boolean)

        [ 0 ] = false,  -- unreg
        [ 10 ] = false,  -- guest
        [ 20 ] = true,  -- reg
        [ 30 ] = true,  -- vip
        [ 40 ] = true,  -- svip
        [ 50 ] = true,  -- server
        [ 55 ] = false,  -- sbot
        [ 60 ] = true,  -- operator
        [ 70 ] = true,  -- supervisor
        [ 80 ] = true,  -- admin
        [ 100 ] = true,  -- hubowner
    },
    etc_chatlog_min_level_adv = 100,  -- advanced level to clear chatlog (integer)
    etc_chatlog_max_lines = 200,  -- max posts to save in database (integer)
    etc_chatlog_default_lines = 15,  -- default amount of posts at Login / default amount for "show" command (integer)


Set it to true or false for who you want to see it...
User avatar
Freyja
Site Admin
Posts: 24
Joined: Tue Apr 27, 2021 12:30 pm
Location: Cluj-Napoca, Transilvania
Contact:

Re: History on connect

Post by Freyja »

Sorry, i missunderstood the question. I don't think that you can set up the ynhub like that. Probably you would need a script to run along with the ynhub.
We are all born alone and die alone.The loneliness is definitely part of the journey of life
User avatar
curse
Site Admin
Posts: 15
Joined: Tue Apr 27, 2021 12:04 pm
Location: Gran Canaria, Spain
Contact:

Re: History on connect

Post by curse »

Oh, were we talking Ynhub? I wrote for Luadch... I don't know much about Ynhub, but I'm pretty sure that I've seen Ynhubs with history at login as well. So it's probably a checkbox hidden behind a menu which is behind another menu in the fourth tab of the third menu in the GUI :D
Burner
Posts: 4
Joined: Tue Oct 11, 2022 9:52 am

Re: History on connect

Post by Burner »

I think maybe a bot have been used , the software is old so maybe noone remembers anymore :( :( :(
User avatar
curse
Site Admin
Posts: 15
Joined: Tue Apr 27, 2021 12:04 pm
Location: Gran Canaria, Spain
Contact:

Re: History on connect

Post by curse »

Yea, I never really used Ynhub. I went from NMDCHub to something I don't remember the name of on Linux, then Verlihub, and at this time yhub and ptokax showed up, but since I was on Linux, I continued with Verlihub and when Ptokax started to work on Linux, I had gone to Aquila which I used for many years, during that time Ynhub started to become popular, but I never used it more than just some testing. Both Aqulia and Ynhub became obsolete more or less at the same time, so I changed to Flexhub which we could use on both windows and linux hosts,which I used until it became obsolete for adc.. now Luadchub on adc and still flex on nmdc but looking for alternatives.
Post Reply