PtokaX forum

Archive => Archived 5.1 boards => Request for scripts => Topic started by: Plagued Elohim on 27 July, 2007, 15:46:39

Title: Text files only for reg?
Post by: Plagued Elohim on 27 July, 2007, 15:46:39
Is there a way that I can make text files reachable only for reg users? A script or a command? Please help me. Thank you
Title: Re: Text files only for reg?
Post by: bastya_elvtars on 27 July, 2007, 16:15:35
You mean those files that are handled by PtokaX?
Title: Re: Text files only for reg?
Post by: Plagued Elohim on 02 August, 2007, 12:08:04
I mean the text files that you put in the foler Texts :)
Anyone?  :'(
Title: Re: Text files only for reg?
Post by: Plagued Elohim on 02 August, 2007, 15:34:02
Nice... Thank You :) Just two more things that I would like you to help me with. Could you tell me the lines that I have to modify so that only unreg users cannot see the text files and that the text files will appear in PM. Thanks, again ;)
Title: Re: Text files only for reg?
Post by: Thor on 02 August, 2007, 15:37:26
Change this:
if user.iProfile ~= -1 and GetProfilePermissions(user.iProfile).bRefreshTxt == 1 then
to this:
if user.iProfile ~= -1 then
Btw. it's still sends the messages in PM as I saw
Title: Re: Text files only for reg?
Post by: Plagued Elohim on 03 August, 2007, 10:50:38
I didn't quite got that from the script notes. Thx Mutor and you too, Hungarista