PtokaX forum

Archive => Archived 5.0 boards => Request for scripts => Topic started by: vladel on 25 October, 2005, 21:45:46

Title: Someone?
Post by: vladel on 25 October, 2005, 21:45:46
I`d like a script that read from a txt file ? For example  when I tpe !cs i`d like to show some counter server or when I type !xxx or something else to read what is in that .txt file that I write there.
Title:
Post by: Markitos on 25 October, 2005, 21:58:39
QuoteOriginally posted by vladel
I`d like a script that read from a txt file ? For example  when I tpe !cs i`d like to show some counter server or when I type !xxx or something else to read what is in that .txt file that I write there.

Search...thats like a file reader
Title: Re: Someone?
Post by: BoyKind on 24 July, 2006, 22:47:56
vladel, this depends on what version of Ptoka you're using ... I'm using 0.3.5.1 ... What I've done was, Options > Text Files > Enable text files support > * Show text files in PM * (optional) ... And you put the commands in the Folder texts , from the PtokaX folder ... for your example !CS .. you make a CS.txt file in texts folder, and in CS.txt file you put what you want, then you Save it. You enter PtokaX > Options > Text Files > Reload Text Files Now ... That's all
Title: Re: Someone?
Post by: Markitos on 25 July, 2006, 08:17:49
Yes, that's another way. I did forget it.