You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 )
Error(s) in player's console, if any
None needed.
Version
ULib v2.71w
ULX v3.81w
The text was updated successfully, but these errors were encountered:
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 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 )
Error(s) in player's console, if any
None needed.
Version
ULib v2.71w
ULX v3.81w
The text was updated successfully, but these errors were encountered: