of     1   

e_Scriph
#184824651Sunday, March 06, 2016 12:08 AM GMT

Okay, So I was trying to make some admin commands in witch I just add a thing in a moudle script to add a command. However my check privileges thing only runs once. Also, it only runs to the third print, not the fourth. My output is also really weird because it should say 1st 1st 1st 1st but it says 1st 2st 3st Code: function Admin:CheckPriv(plrname) for z=1, #Settingz do print(z.."st") izil=Settingz if thegmatch(izil[z], "%S+") == plrname then print(z.."st") for i in string.gmatch(plrname, "%S+") do print(z.."st") p=p+1 if p==2 then print(z.."st") return i end end end end return -50 end Output: 1st 2st 3st
e_Scriph
#184825729Sunday, March 06, 2016 12:27 AM GMT

bump1
e_Scriph
#184826210Sunday, March 06, 2016 12:34 AM GMT

bump2
e_Scriph
#184827038Sunday, March 06, 2016 12:47 AM GMT

any1?
cofunction
#184827189Sunday, March 06, 2016 12:48 AM GMT

The length of Settings must be 1 then.
e_Scriph
#184827360Sunday, March 06, 2016 12:51 AM GMT

@advanced No its 3. Also if you read the post it shows that it should output 1st 1st 1st 1st but it says 1st 2st 3st If you look at the script, the prints are set up so its printing z.."st" every code block. This is my stratigy for debuging That also means that the forth print is not printing.
e_Scriph
#184830605Sunday, March 06, 2016 1:38 AM GMT

hlp=ew4rtgdf0.3850.3850.3850.3850.3850.3850.3850.3850.3850.3850.3850.3850.3850.3850.3850.3850.3850.3850.3850.3850.3850.385
JarodOfOrbiter
#184830889Sunday, March 06, 2016 1:42 AM GMT

This (thegmatch(izil[z], "%S+") == plrname) ostensibly isn't passing if nothing prints beyond that. Look into it.

    of     1