• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Difficult!

GarQet

Own3d!
Joined
Feb 10, 2009
Messages
1,381
Solutions
14
Reaction score
81
Hello Otlanders!
I did the script to my OT but I stopped at a difficult time.
I can't do my idea, I need your help.

I got it:
local teams = {OTland, GarQet, Support, OpenTibia, Forum, OTS, Topic}
Now I need a script that drew the two names, marged them and ascribed "number" 1 and ID 1 and 2. The script must create two tables with the same NUMBER but with different names and different IDs.
ID is entered in the tebeli which is located in (System -> ID)
NAME is entered in the tebeli which is located in (System -> NAME)
NUMBER is entered in the tebeli which is located in (System -> NUMBER)
The next two names give your target NUMBER 2, and also it adds.

Example:
The script draws a GarQet and OTland.
He chose it as the first therefore assign NUMBER 1.
Picture:
35944700661001258075.png


Then drew two other names (The script can't draw NAMES who have already picked!): Support and Topic.
Picture:
56487722993631932028.png


I need this a piece of script.
PLEASE HELP ME...
Sorry for my bad English.

#EDIT
If the name was not evenly, it prints the same one.
When all names will be linked to terminate its operation.
Example:
12250231965436818951.png
 
Last edited:
Back
Top