ID:1764789
 
(See the best response by Kaiochao.)
Code:


Problem description:I've looked around, i think I saw something to do with winset, but It didn't have a clear example and I didn't understand. Which is probably due to me not understanding win stuff very well in the first place.


Best response
http://www.byond.com/docs/ref/skinparams.html#macros

winset(usr, "myCtrlEmacro", "parent=macro1;name=Ctrl+E;command=exit")

// [usr] can be the player mob or client
// "myCtrlEmacro" is an example ID for the macro so you can refer to it now and later.
// It has no effect on what key is used.

// "parent" is the name of the macro family.
// In the skin editor, the top list (of the 3) contains macro families.
// By default, you'll only have one, "macro"

// "name" is the name of the key you want to set.
// It can include Ctrl+, Alt+, Shift+, and/or +Up. Any combination.

// "command" is the verb you want to call when the macro is used.
// If the verb has spaces in the name, remember to replace each with a dash (-)
// You can pass arguments after a space after the name.
yes I've seen this before still not working. Currently I'm using this right when player logs in. In this a bad place to do it?
nevermind I somehow got this to work. And i see why now sorta. I think i know enough to play around with it now thank you!!