script-message-to commands type was passing cursor_position as a string, which caused a crash if you e.g. moved the cursor afterwards. Convert it to number in console so commands.lua and similar clients don't have to manually convert it.
script-message-to commands type was passing cursor_position as a string, which caused a crash if you e.g. moved the cursor afterwards. Convert it to number in console so commands.lua and similar clients don't have to manually convert it.