ID:561878
 
(See the best response by DarkCampainger.)
Is there a way to change the text written on a skin button or label in-game?
yes, by going into your .dmf file that's used for the interface with the button or label included and click for edit the button you created, then go to the appearance tab.
Lige wrote:
He's looking for a way to do this in-game...

Anyway, you should look up winset, Zerok. Here's an example.

winset(player, "window.button", "text='Oh hai der'")


Oh, thanks for the correction. I didn't read that correctly.
Can you also change the command?

winset(src, "window.button", "command=This()")

That's just how I think it would be done if possible.
Yes, you can change the command in-game. I believe what you just said is one way to do it, but I could be wrong; still waking up and haven't done that in a while, heh. Anyway, if you haven't seen this yet it may help. http://www.byond.com/docs/ref/skinparams.html

Provides a lot more info on what options you have with skins/interfaces.
In response to Zerok Kaiba
Best response
Commands are linked to verbs by name, using the same syntax as the old input command-line. So to call the verb Kick(), you would set the command to "Kick". To call Teleport_To_City(), you would set the command to "Teleport-To-City" (Note that the hyphens are used in place of spaces). If you want to pass an argument to a verb, just put it after the verb name: "Choose-Number 6" would call the Choose_Number() verb and pass it 6 as the first argument. You can call multiple verbs in one command by using a newline, but there's a bug of sorts so you have to follow the instructions here.

Also, don't forget to surround the value in quotes.
Yea I tried it out and it seems what I thought could happen was actually correct. Also thanks for the information DarkCampainger I was wondering why I couldn't use spaces in verb names.