ID:143755
 
Code:
#define GAME_SERVER_ADDRESS "byond://localhost:2263"
#define GAME_SERVER_ADDRESS2 "byond://localhost:2264"
mob/verb/SubmitPhrase(phrase as text)
var/response = world.Export("[GAME_SERVER_ADDRESS]#[phrase]")
var/response2 = world.Export("[GAME_SERVER_ADDRESS2]#[phrase]")
return

world
Topic(MAD, JAR)
world << "[src.name]: [MAD] (from [JAR])"


Problem description:
Src.name thinks my name is the server's name, and I can't use the key part of world/Topic because it shows the key as null.
world.Topic() is defined under just that: world. That means src == world. You'd better just send the name with the phrase if it's really that important.
In response to CaptFalcon33035
I've been trying, but no luck.

(EDIT)
Nevermind. A little var fixed my problem, instead of having it directly #[phrase], it's now
mob/verb/SubmitPhrase(phrase as text)
var/maybe="[usr.name]: [phrase]"
var/response = world.Export("[GAME_SERVER_ADDRESS]#[maybe]")
var/response2 = world.Export("[GAME_SERVER_ADDRESS2]#[maybe]")