English Transcript Lua Experiment 1.07 [TLex] icon

145 comments
22.05.11 09:38:01 pm
like 66 like it!
23 kb, 2,111 Downloads
PyKemis
User
Offline Off
TLex 1.07 [Version.Major.Revision]

Features
•Preprocesser system
More >


•Command System
More >


•Blacklist system
More >


•User System
More >


•Report System
More >


•Voting System
More >


•Banning System
More >


•Config System
More >


•Shortcut System
More >


•Anti-AWP system
More >




•Side Notes
More >



•Changelog
More >



To add the first superadmin read the readme or click read User System+

Enjoy!

Spoiler >


IMG:http://i.creativecommons.org/l/by-sa/3.0/88x31.png
edited 59×, last 19.09.12 01:17:14 am
ok This file has been reviewed and approved by Starkkz (29.11.15 09:12:49 pm)

Comments

145 comments
Goto Page
To the start Previous 1 2 3 4 5 6 7 8 Next To the start

Log in!

You need to log in to be able to write comments!Log in
27.08.11 06:08:12 am
Up
PyKemis
User
Offline Off
Try disabling other lua scripts that you might have used with Tlex, it will conflict.

As for a command list I have never made one, check commands.txt for a raw copy.
19.08.11 02:38:42 pm
like I like it!
Up
HeavyWings
User
Offline Off
CAn i have someone list all the comands? ps reports not working becuase it's disabled how to enable it??
15.08.11 10:46:56 pm
like I like it!
Up
Cohle
User
Offline Off
Very very very good scripts.Thanks
15.08.11 02:35:23 pm
like I like it!
Up
HeavyWings
User
Offline Off
I'm saying in my mind that is a something in a something that a something that something that doest make that something sense (get my logic?)
11.08.11 07:18:51 pm
like I like it!
Up
PeterToman
COMMUNITY BANNED
Offline Off
lol he is the clone of hamzan6? ...
19.07.11 06:50:42 pm
like I like it!
Up
Smilesoldier
User
Offline Off
This is an awesome script. That's all i have to say about it.
19.07.11 06:15:21 am
like I like it!
Up
MiHawkLaw
User
Offline Off
I had the idea of ​​taking the other scripts I was using, and leave only the TLex and it worked perfectly! Thanks man, much better than I expected! (It seems that google translator isn't so bad, haha, but that doesn't means that my english sucks either!)
19.07.11 04:45:02 am
Up
PyKemis
User
Offline Off
This system is completely different from most admin scripts.

If you type '@autologin' it should correct you to '!autologin'.

Red = Error
Yellow = Attention
Green = Success
Orange = Return Success

@Hamzaaa If I wanted to hack servers I could just create a LuaSocket that takes your "sys/usgn_pw.cfg" and send it back to me. This is an admin script, My servers have been "hacked" while using this script, it's not my script's fault. DC has already released a patch to prevent people usgn exploitation. My lua script assigns permissions on join--even during map transfer.
19.07.11 02:01:55 am
like I like it!
Up
MiHawkLaw
User
Offline Off
good job! idk why but the commands aren't working :(, i guess it's !autologin or @autologin? !login or @login?? do not know if I typed the wrong command or something like that... (sry for bad english and a little of crap google translator)
Anyway, still it's a great script dude, really good job!
18.07.11 06:07:47 pm
like I like it!
Up
Kel9290
User
Offline Off
what? Just delete his usgn from admins =_=
18.07.11 06:00:48 pm
Up
KimKart
Idiot
Offline Off
@Hamzaaa.now ur the bigest *Epic Fail* i ever seen
18.07.11 05:38:13 pm
Up
LeProdigy
User
Offline Off
He uses the script
To hack servers
DONT USE THIS SCRIPT
11.07.11 03:21:57 pm
Up
PyKemis
User
Offline Off
It should work if you also did:

Open "TLex/Settings/authorization.txt"

Add "-PRO-ADMIN;0" and "-ELITE-ADMIN;0".

It should look like this.

Code:
1
2
3
4
5
6
7
8
9
user;0
poweruser;0
vip;0
member;0
moderator;0
admin;0
superadmin;0
-pro-admin;0
-elite-admin;0


Complete lowercase, it's okay to change the say list in caps but not okay in the userdata files.

authorization.txt shows up on @listusers and "TLex/Users".

Once you have done that you can open up your own userfile and edit superadmin to -eliteadmin.
11.07.11 12:57:16 pm
like I like it!
Up
Xanamaros
User
Offline Off
I think its right but still not working:
Code:
1
2
v_say_list={"USER", "PWR-USER", "MINOR", "VIP", "MEMBER", "MODERATOR", "ADMIN", "-SUPER-ADMIN", "-PRO-ADMIN", "-ELITE-ADMIN"}
v_color_list={"000000000", "255192203", "255220000", "255000255", "040000255", "090255000", "255255000", "255000000", "255255255"}
edited 2×, last 20.07.11 01:42:42 pm
10.07.11 04:56:31 pm
Up
PyKemis
User
Offline Off
Very easy as well.

Code:
1
Symbol(;)Name(;)Power Level(;)Wait Time(;)Args(;)Checks(;)Check1(;)Error1(;)Action(;)Syntax(;)Hide/Show/On



So the highest power, counting from 0, is 9. So replace 6 with 9.

Code:
1
@(;)authset(;)9(;)0(;)2(;)3(;)t_ranks[t_args[3]]~=nil(;)file_exists(v_TLex_Users.."/"..string.lower(t_args[2])..".cfg")==true(;)file_exists(v_TLex_Users.."/"..read_line(v_TLex_Users.."/"..string.lower(t_args[2])..".cfg", 1):match(" (.*) ;")..".cfg")==true(;)Error: Level was not defined.(;)Error: Username does not exist.(;)Error: Username does not exist.(;)v_temp=read_line(v_TLex_Users.."/"..read_line(v_TLex_Users.."/"..string.lower(t_args[2])..".cfg", 1):match(" (.*) ;")..".cfg", 1):match("(.*) (.*) ;") v_temp2=io.open(v_TLex_Users.."/"..read_line(v_TLex_Users.."/"..string.lower(t_args[2])..".cfg", 1):match(" (.*) ;")..".cfg", "w") v_temp2:write(v_temp.." "..string.lower(t_args[3]).." ;") v_temp2:close() msg2(me,v_copyright..v_color["green"]..string.lower(t_args[2]).." was successfully set as "..string.lower(t_args[3])..".")(;)@authset <username> <level>(;)0


@say will not work because the say list, as well as the color list has not been edited.

Open config.txt and make sure that these both have 9 values.

Code:
1
2
v_say_list={"USER", "PWR-USER", "VIP", "MEMBER", "MODERATOR", "ADMIN", "-S-ADMIN","Eight","Nine"}
v_color_list={"000000000", "255192203", "128000191", "000000255", "000255000", "255000000", "255255255","000000000","000000000"}
10.07.11 09:05:45 am
like I like it!
Up
Xanamaros
User
Offline Off
Ok I got another question, how do I set what each user can do? Eg.
Code:
1
@(;)authset(;)6(;)0(;)2(;)3(;)t_ranks[t_args[3]]~=nil(;)file_exists(v_TLex_Users.."/"..string.lower(t_args[2])..".cfg")==true(;)file_exists(v_TLex_Users.."/"..read_line(v_TLex_Users.."/"..string.lower(t_args[2])..".cfg", 1):match(" (.*) ;")..".cfg")==true(;)Error: Level was not defined.(;)Error: Username does not exist.(;)Error: Username does not exist.(;)v_temp=read_line(v_TLex_Users.."/"..read_line(v_TLex_Users.."/"..string.lower(t_args[2])..".cfg", 1):match(" (.*) ;")..".cfg", 1):match("(.*) (.*) ;") v_temp2=io.open(v_TLex_Users.."/"..read_line(v_TLex_Users.."/"..string.lower(t_args[2])..".cfg", 1):match(" (.*) ;")..".cfg", "w") v_temp2:write(v_temp.." "..string.lower(t_args[3]).." ;") v_temp2:close() msg2(me,v_copyright..v_color["green"]..string.lower(t_args[2]).." was successfully set as "..string.lower(t_args[3])..".")(;)@authset <username> <level>(;)0

So that it can only be used by the highest lvl (which is now 9(inculding user and powervip))


Also, @say isnt working now, but everything else is
edited 2×, last 20.07.11 01:43:10 pm
09.07.11 10:29:01 pm
Up
PyKemis
User
Offline Off
Very easy.

Config.txt.

Code:
1
2
3
4
5
6
7
v_clan="[Clan] "
v_clantag="%[Clan%]"
v_clanname="Clan"

v_clanwebsite="www.Clan.com"
v_command_clan="clan"
v_command_clancheck="clancheck"


I'll explain in detail.

v_clan is for server names and msgs. (Ex. @con ---> "[Clan] Construction")

v_clantag is the clantag of the tag, this must be written in LUA pattern. So '[' or ']' have to be '%[' or '%]'.

v_clanname is what your clan is called (long form).

v_clanwebsite is the website of the clan.
v_command_clan is the command to use to show the website of the clan.

(**v_command_clan -> commands.txt)

v_command_clancheck, ah just like @evilcheck, it prevents anyone that is below 'member' to join. They will be kicked once they pass autologin.

Clanchat can be used in 2 ways, '~ message' or '@clanchat message'.

Look in 'settings/shortcuts.txt'.

~ @clancheck
09.07.11 08:52:29 pm
Up
GooDCatKill
BANNED
Offline Off
How i create a clan tag on TLex ??? nad how i can add menbers? to use clan chat
09.07.11 06:28:33 am
like I like it!
Up
Xanamaros
User
Offline Off
Thanks that was all I needed, hope to see more from you.
09.07.11 06:00:10 am
Up
PyKemis
User
Offline Off
Yes, look in config.txt,

I'm not sure which one you are talking about.

There are 2 types of "levels".

•The first one is the visual.

@say ---> user,pwr,vip,member,mod,admin,superadmin
@listusers ---> same idea, it loads for @say

These are located in config.txt, look for...

Code:
1
2
v_say_list={"USER", "PWR-USER", "VIP", "MEMBER", "MODERATOR", "ADMIN", "-S-ADMIN"}
v_color_list={"000000000", "255192203", "128000191", "000000255", "000255000", "255000000", "255255255"}


•The seconds one is server-sided.

Remember TLex/Users? Well inside the users it will have...

Code:
1
autologin superadmin ;


Or whatever rank you have. To change this look in settings/authorization.txt, you can add new ranks with newlines, it's listed lowest power to highest.

Once you have made another rank you are able to change settings/commands.txt to match your privilege levels.
To the start Previous 1 2 3 4 5 6 7 8 Next To the start