PtokaX forum

Archive => Archived 5.0 boards => Request for scripts => Topic started by: Ubikk on 14 June, 2005, 10:35:02

Title: A different texter script
Post by: Ubikk on 14 June, 2005, 10:35:02
Hey guys...
I'm searching for a different kind of text viewer for ptokax.
I have a very large file that i want to be displayed and I dont want it displayed at once.
First of all, when user types "!faq" I would like only the menu to be displayed in PM like this:

Quote
1. What is ***?
2. How to use ***?
3. What's the difference between * and * ?
4. How can I do that?
5. What is better for *** ?
6. etc

Type !faq to see detailed information about that certain topic.
!faq 1


Faq 1. What is ***?
====================================================================================================

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Faq start]
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Faq end]
====================================================================================================

[/size]


All files will be stored in the ~/scripts/texts folder like this:

menu.txt
faq1.txt
faq2.txt

etc.

I hope this is not to hard to make and I wish you understood my idea of this script....  :D

Have a nice day  8)

P.S: design idea taken from PostMan Bot 0.3 by bastya_elvtars  :D
Title:
Post by: Dessamator on 14 June, 2005, 11:39:39
i dont see anything special about it, just create each text for the trig that there must be at least more than 5  scripts that do that,

Good Luck
Title:
Post by: Ubikk on 14 June, 2005, 12:40:42
I just thought it would be easier to comunicate via PM with the hub BOT that way :rolleyes:
Besides, a normal text reader won't help me because the whole faq is to big....
Title:
Post by: Dessamator on 14 June, 2005, 12:50:01
are u sure the ptokax inbuilt reader cant handle that, either way if ptokax inbuilt reader cant handle it, than no script can, only way is diving it into some sections, and sending it as required, but no new script is needed for that u just need to sort ur faq's appropriately
Title:
Post by: Ubikk on 14 June, 2005, 13:30:43
It's not that it can't handle it... it's just that the whole faq is too big and i'm sure users aren't interested in the whole text, but in only some parts of it :)
Title:
Post by: Dessamator on 14 June, 2005, 13:40:16
QuoteOriginally posted by Ubikk
It's not that it can't handle it... it's just that the whole faq is too big and i'm sure users aren't interested in the whole text, but in only some parts of it :)

Quoteu just need to sort ur faq's appropriately