PtokaX forum

PtokaX => Feature Proposals => Topic started by: 6Marilyn6Manson6 on 18 April, 2007, 10:53:28

Title: Explain command for text File
Post by: 6Marilyn6Manson6 on 18 April, 2007, 10:53:28
PtokaX have this command:

   !reloadtxt - Ricarica tutti i file di testo.

My request is:
can you PPk added:

   !addtxt - Added new text File.
   !deltxt - Delete text File.
   !showtxt - Show all text File.
   !changetxt <nametxt> <bodytxt>- Change text File (Syntax: !changetxt rules "NewRule ecc ecc").

Thanks
Title: Re: Explain command for text File
Post by: achiever on 16 May, 2007, 09:25:52
great idea 6Marilyn6Manson6

was this request ever considered? i mean can it be done or is it already being worked on or whats on.
as this will be helpful.

plzz reply.
thks
Title: Re: Explain command for text File
Post by: bastya_elvtars on 16 May, 2007, 12:09:34
You can do this with a script.
Title: Re: Explain command for text File
Post by: achiever on 17 May, 2007, 14:14:17
what difference it would do to have such a script and have this in ptokax, except the the time involved to change?
Title: Re: Explain command for text File
Post by: bastya_elvtars on 18 May, 2007, 00:24:10
Quote from: achiever on 17 May, 2007, 14:14:17
what difference it would do to have such a script and have this in ptokax, except the the time involved to change?

There would be none. I am not sure how !addtxt should work, though.
Title: Re: Explain command for text File
Post by: bastya_elvtars on 18 May, 2007, 12:56:32
Well, if one does not want a function there is the option to not use it, but this indeed should be scripted since it's goddamn easy.
Title: Re: Explain command for text File
Post by: 6Marilyn6Manson6 on 19 May, 2007, 00:54:03
Quote from: Mutor on 18 May, 2007, 11:19:54
Assume that not all users
want these text functions at all.

YnHUB have all this commands
Title: Re: Explain command for text File
Post by: bastya_elvtars on 19 May, 2007, 00:57:26
Quote from: 6Marilyn6Manson6 on 19 May, 2007, 00:54:03
YnHUB have all this commands

So what? Then let's make PtokaX so it uses MySQL for everything like Verli (and that's the stupidest thing ever, a hubserver depending on an RDBMS).
Title: Re: Explain command for text File
Post by: 6Marilyn6Manson6 on 19 May, 2007, 00:59:42
Quote from: bastya_elvtars on 19 May, 2007, 00:57:26
So what? Then let's make PtokaX so it uses MySQL for everything like Verli (and that's the stupidest thing ever, a hubserver depending on an RDBMS).

;D I don't see the problem for added this request  ::)
Title: Re: Explain command for text File
Post by: bastya_elvtars on 19 May, 2007, 01:07:55
It's already scripted BTW. This is why PtokaX supports scripting.
Title: Re: Explain command for text File
Post by: 6Marilyn6Manson6 on 19 May, 2007, 01:36:30
Quote from: bastya_elvtars on 19 May, 2007, 01:07:55
It's already scripted BTW. This is why PtokaX supports scripting.

Exist scripts of all PtokaX commands......why not delete all Inbuild commands in PtokaX?  ;D ;D ;D ;D
Title: Re: Explain command for text File
Post by: bastya_elvtars on 19 May, 2007, 01:58:06
Quote from: 6Marilyn6Manson6 on 19 May, 2007, 01:36:30
Exist scripts of all PtokaX commands......why not delete all Inbuild commands in PtokaX?  ;D ;D ;D ;D

I was wondering this too. It would be much better if scripts provided that functionality as it would be a great ooprtunity to learn.
Title: Re: Explain command for text File
Post by: 6Marilyn6Manson6 on 19 May, 2007, 11:29:54
Quote from: bastya_elvtars on 19 May, 2007, 01:58:06
I was wondering this too. It would be much better if scripts provided that functionality as it would be a great ooprtunity to learn.


Yeah, PPK delete all commands Inbuild of PtokaX  ;D
Title: Re: Explain command for text File
Post by: Naithif on 19 May, 2007, 12:12:18
Quote from: bastya_elvtars on 19 May, 2007, 01:58:06
I was wondering this too. It would be much better if scripts provided that functionality as it would be a great ooprtunity to learn.


Yeah, so all people who:
1 Don't wanna learn scripting
2 Unable to find a suitable script they need

would leave PtokaX, or use an all-in-one script just to be able to config simple parts  ;D

But! - If they use an all-in-one script just to config stuff that's simple and can be built in that's the same/worse...

In the end, that leads to removing 'not needed for everyone' options, creating only basic functions in the hub (that's fine), but on the other hand it would lead to use all-in-one (with some/lots of 'not needed for everyone' functions) scripts by a great deal of users, and that's not even a hint of learning
Title: Re: Explain command for text File
Post by: PPK on 19 May, 2007, 21:55:28
Here is no reason to remove inbuild commands. Many users need them, and if anyone want is easy to disable or replace them with script.
Title: Re: Explain command for text File
Post by: 6Marilyn6Manson6 on 20 May, 2007, 11:30:08
Quote from: Naithif on 19 May, 2007, 12:12:18
Yeah, so all people who:
1 Don't wanna learn scripting
2 Unable to find a suitable script they need

This is another reason for added my request  ::)
Quote from: PPK on 19 May, 2007, 21:55:28
Many users need them, and if anyone want is easy to disable or replace them with script.

Same...This is another reason for added my request  ;D
If a user want script for this 4 commands use script, if don't want use a script he have all in PtokaX
Title: Re: Explain command for text File
Post by: Madman on 20 May, 2007, 13:55:28
Well, now there is a script with ONLY these commands. So i see no reason to add them to PtokaX.
And why wouldnt you want to run a script? That's the whole idea with PtokaX...