Wow' aihong

Yes, you can. Use the sendchatmessage command. Leave a hole and help you write it tomorrow.

/script SendChatMessage ("what did I say", "whisper", "dwarf", unitname ("target "))

You can even add a judgment, if the other person is a dwarf, use dwarf language, if not, use ordinary language.

/scriptif (unitrace ("target") = = "gnome") and then send a chat message ("what I said", "whisper", "gnomish", unitname ("target ")) otherwise send a chat message ("what I said ","whisper ","commonly used ",unit.

Note that there is no carriage return in the middle, just copy it directly.

I forgot to get the current target name. If there are still mistakes, I will change common into common language and Gnomish into dwarf language.