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 :)
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
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
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