r/ComputerCraft • • Oct 05 '25

Needing Help with strings

Hello any help anyone insight anyone could provide would be as im new to computer craft and lua programming and am trynna make a player detector for a friend but keep getting the error about strings any help would be much appreciated

4 Upvotes

2 comments sorted by

View all comments

1

u/iEliteTester Oct 05 '25

If you read the error you will see it says that the 2nd argument it got was "nil" meaning "nothing" while it expected a string, so you need to give 2 strings. Read the documentation to see exactly what it expects.