i think the only ways you can send data directly from script to script is either with the N/task module, or by using http requests and including a suitelet or restlet. Otherwise you could maybe use a field on the record as a parameter. Set a value with the client script, and get the value with the userevent script.