Forum

> > CS2D > Scripts > text:sub(1,7), what do the digits mean ?
Forums overviewCS2D overview Scripts overviewLog in to reply

English text:sub(1,7), what do the digits mean ?

4 replies
To the start Previous 1 Next To the start

old text:sub(1,7), what do the digits mean ?

TopNotch
User Off Offline

Quote
Hello guys,

I am making a script while i'm learning in other Lua scripts.
I saw this in another script, but what are the digits telling me?

1
2
if text:sub(1,7)=="!unmute" then
if text:sub(1,5)=="!kick" then

Thanks for helping.
edited 1×, last 10.11.15 05:54:00 pm
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview