ID:140361
 
Code:
winset(usr,"pm_input","command=\"Send-PM [M] \"")


I want to have the users PM input bar to have the command set to "Send-PM (recipient's name)", but for some reason if they have a space in their name, it adds the word AFTER the space into the command, like so:

Banana Man: hi
Banana Man: Man hi

I've read through other posts, and edited the code around. Any suggestions?
This cannot be changed

But you can try to bypass, copy name AND message, then check word by word, till first (either few first) word(s) exactly match someones name, but it's not really good way.
You'll need to filter M's name there to replace any spaces with dashes.