Script to place a text from a file.
 

Script to place a text from a file.

Started by ResidentEvil, 29 March, 2008, 21:52:24

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ResidentEvil

Hello, I need a script to place my HUB rules from a file, for example when I tipe +rules in main, the script reads and shows in PM or MC what is written in file rules.txt . This command alsi can be wisible in user commands or etc. :) Thank you very much :)
I need 6 Gold Stars and 666 Karma Pluses !!!
I'm just starting with PtokaX and LUA :) Don't castigate me :)

Rocheforte

ptokax has an inbuilt text reader:
save your text files in ptokax/texts
you'll have to enable the text file support
this option is placed in settings/general settings/more general

if you want a rightclick support for your files, visit this thread
http://board.ptokax.ath.cx/index.php?topic=7371.0
in this case don't forget to download this file http://www.ptokax.org/files/Libs-0.3.6.0d/PXLuaFile

Gnuff?

Quote from: ResidentEvil on 29 March, 2008, 21:52:24
Hello, I need a script to place my HUB rules from a file, for example when I tipe +rules in main, the script reads and shows in PM or MC what is written in file rules.txt . This command alsi can be wisible in user commands or etc. :) Thank you very much :)


You could also use this:
http://board.ptokax.ath.cx/index.php?topic=7371.0
Gnuff

[NL]ben

try the rightclick-menu script its works great for rc

save your text files in ptokax/texts
you'll have to enable the text file support
this option is placed in settings/general settings/more general

and put the info to the script
member of the thnns network
hollandse-mp3-paleis.no-ip.info

SMF spam blocked by CleanTalk