• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua check for '[]' in the text

roriscrave

Advanced OT User
Joined
Dec 7, 2011
Messages
1,210
Solutions
35
Reaction score
207
How can i check '[' ']' in the text?
exemple:

local string1 = "[normal] magic plate armor"
local string2 = "[epic] magic plate armor"

i want to print string1 = [normal]
print string2 = [epic]

want to get the [string]
 
Solution
Back
Top