lua_openscript_cl failing me...LUA new to me



] lua_openscript_cl blahblah.lua "MingeBag"
Running script blahblah.lua...
**Couldn't include file 'blahblah.lua' (File not found) (<nowhere>)**

blahblah.lua source(not my code):


cmd("alias name")
name=args

hide="																			\"

cmd("disconnect")
wait(100)
cmd('setinfo name "'..name..''..hide..'"")
wait(100)
cmd("retry"))

blahblah.lua is located in C:\Program Files (x86)\Steam\steamapps\xxxxxxx\garrysmod\garrysmod\lua
blahblah.lua is also located in C:\Program Files (x86)\Steam\steamapps\xxxxxxx\garrysmod\garrysmod\lua\autorun\client

To run it I tried


lua_openscript_cl blahblah.lua

To run it I tried


lua_openscript_cl autorun\client\blahblah.lua

Why is it giving me


**Couldn't include file 'blahblah.lua' (File not found) (<nowhere>)**

?

I dont know what you are doing but this is not lua.


cmd("alias name")
name=args

hide="																			\"

cmd("disconnect")
wait(100)
cmd('setinfo name "'..name..''..hide..'"")
wait(100)
cmd("retry"))

None of the function you used do exist.

[editline]18th May 2011[/editline]

Also the code has a bunch of syntax errors.

[editline]18th May 2011[/editline]

Go learn lua/gmod lua before you try to code please.

these a LSS scripts i think lol

Just set your steam name to ‘~ ~’, as cunit posted these are lss scripts, and setinfo name no longer works in gmod.

Sorry.

wtf is this

i thought the same when i saw your post.

just go away please

And thats why they invented this genius of a button.

http://www.facepunch.com/fp/ratings/tick.png

http://www.facepunch.com/fp/ratings/tick.png

http://www.facepunch.com/fp/ratings/tick.png

http://www.facepunch.com/fp/ratings/tick.png

http://www.facepunch.com/fp/ratings/tick.png

http://www.facepunch.com/fp/ratings/tick.png

http://www.facepunch.com/fp/ratings/tick.png

http://www.facepunch.com/fp/ratings/tick.png

And your why they invented this genius of a button.
[img_thumb]http://www.facepunch.com/fp/ratings/box.png[/img_thumb]

He posted scripts that would only work with LSS.
And he’s trying to run them with GMod. derp.

mopeindope2, If you want to use these… “scripts”, You’re going to need LSS.