Type LUA containing double quotes or other things (e.g. ulx luarun print("hi"))
Expected behavior
Double quotes are properly parsed.
Actual behavior
The sent code, taking the example code from step 2 here, which was sent as print(hi), causing an error.
This could easily be solved by using ULib.explode(" ", argStr) or similar in the concommand instead of args, to override GMod's parsing, including double quotes, and other stuff like parenthesis, etc.
Error(s) in server console, if any
nil
ServerLog: [ULX] (SILENT) Player ran lua: print ( hi )
Steps to reproduce
ulx luarun print("hi")
)Expected behavior
Double quotes are properly parsed.
Actual behavior
The sent code, taking the example code from step 2 here, which was sent as
print(hi)
, causing an error. This could easily be solved by usingULib.explode(" ", argStr)
or similar in the concommand instead of args, to override GMod's parsing, including double quotes, and other stuff like parenthesis, etc.Error(s) in server console, if any
nil ServerLog: [ULX] (SILENT) Player ran lua: print ( hi )
Error(s) in player's console, if any
None needed.
Version
ULib v2.71w ULX v3.81w