Can you view and edit MOTD using script? ?(
QuoteOriginally posted by Janhouse
Can you view and edit MOTD using script? ?(
you can view and edit it but ptokax saves it on exit and only loads it on startup.
so any changes made by scripts will be lost and never seen by your users.
plop
Huh, old post, so I figured out to ask again - arent there any chance of changing MOTD from difrient PC (not the one, where ptokax is instaled)???
...In deep hope, that things have moved on...
overwite the file in the ptokaxfolder..
(at a time your ptokax is not running) ...
so ..sharing the folder on local network .. or anyhow you like .. ftp or remote desktop whatever you like just overwrite the file from any pc you want ..
but not "through ptokax"
but i guess you want to do it "on the fly" huh
so.. no, no change yet .. must do it while hub is not on ..
yeah, I guess its the only way how to keep MOTD up-to-date if hub owner isint really able to do anything for hub :( (dont get me wrong, only prob. is, that owner sometimes leaves city or even country for weeks)
QuoteOriginally posted by enema
yeah, I guess its the only way how to keep MOTD up-to-date if hub owner isint really able to do anything for hub :( (dont get me wrong, only prob. is, that owner sometimes leaves city or even country for weeks)
I see at least two solutions to your problem:
1) Arrange for someone else to host the hub when the hubowner is away.
I do that now and again, i just zip the ptokax folder so that all settings and scripts are current, and send it to one of the ops who can leave his computer on while I'm away. It takes a littlle explaining if the person isn't very technically-minded, but it works nicely. He can even take over if there's a problem on my 'puter while I'm at work.
2) Arrange a remote desktop connection to the machine running the hub.
This can be a bit tricky: some people might not like even friends to access their 'puters remotely in their absence, but if the hub is on a dedicated machine, then private files stay private; and there are probably security risks (hacking, etc) that I'm not aware of when using remote-control software.
Edit: I realize that you probably thought of that months ago... sorry if this is the case, it sounds very obvious now I'm re-reading my post o_O
or use XtremeMOTD from LawMaker
umm sorry for self-commercial :baby: :D :D :D
QuoteOriginally posted by bastya_elvtars
or use XtremeMOTD from LawMaker
umm sorry for self-commercial :baby: :D :D :D
So... what u are saying... that with lawmaker I can change motd?? I downloaded your lawmaker, but I still cant see this option
i useually use my own ptokax and edit the motd then i upload it to our ptokax ftp server :) just make the ftp directory and overwrite it but be carefull thats the best solution
your ptokaX is working on ftp?? how's that possible??
Yeah i have thought about doing that as well.
Putting the PtokaX folder within FTP webroot.
Set only main PtokaX folder to be allowed to download/upload files. So then just dl the MOTD.txt file and edit it, upload and relogin into Hub to check if it looks good hehe (in the PtokaX [degub] version u dont have to restart hub, it will change directly, at least mine does when editing in the software. Though im not sure if this works when exchanging the MOTD.txt file...gotta test that)
cheers // Dj_OcTaGoN
If you put a hubsoft on ftp, then what are you going to put in address and port field in ptokax?
Well I think hyeclass and me are talking about different ways now, right?
Im not talking about a webhosted FTP
oh, ok... It has been a loooong day, Im not catching even my own thoughts :)
ok for example lets say i host the ptokax and also have a ftp server...... that is pointed out the the ptokax directory that way u can change motd file or anything u like except some settings in ptokax which require gui
So then we are talking about the same thing
cheers // Dj_OcTaGoN
good you got it ..
but... just like plop mentioned in the post above.
"MOTD will be overwritten when closing ptokax"..
"with what it say's in the gui"
(maybe in td4 only if save motd on exit is enabled? )
so just keep that in mind ....
or reboot the hub and gone is your motd ..
whats in the motd textbox in the gui, it will appear, regardless of what is in motd.txt... i guess, or i saw something bad?
this is why it would be nice to have an active ptokax developer with ourselves to answer these questions.
As i know, the frmHub:SetCurrentMOTD() would not be hard to implement, or not harder as PPK implemented the frmHub:SetTopic() or what (bah, i have the lua5 beta but lazy 2 take a look)
btw sorry for my graphomany but i had a terrible week without compie :D
Isnt there a way to overrun PtokaX inbuilt MOTD and make a scripted MOTD only? Then together with one of the scripts where Masters can change txt files (I think the script are called "Save Strings"?) it would work excellent.
cheers // Dj_OcTaGoN
QuoteOriginally posted by Dj_OcTaGoN
Isnt there a way to overrun PtokaX inbuilt MOTD and make a scripted MOTD only? Then together with one of the scripts where Masters can change txt files (I think the script are called "Save Strings"?) it would work excellent.
cheers // Dj_OcTaGoN
i already do it, will rip it 4 ya next week
ok cheers m8! :D