mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 08:01:06 +00:00
13 lines
443 B
Plaintext
13 lines
443 B
Plaintext
/**
|
|
* Debug verb for our custom UDP module, generally used for gelf logging
|
|
*/
|
|
/client/proc/rustg_send_udp()
|
|
set name = "RUSTG Send UDP"
|
|
set category = "Debug"
|
|
set desc = "Sends an UDP text packet using our rust_g custom module."
|
|
var/destination = input(usr, "Address in ip:port format.", "Address", null)
|
|
var/message = input(usr, "Message to send.", "Message", null)
|
|
|
|
if(destination && message)
|
|
rustg_udp_send(destination, message)
|