ID:157519
 
How would I go by changing my macro? Lets say I have "A" assigned for Fire. But I want to change "A" to another skill. like
    Ice
name = "Ice"
columns = 1
rows = 1
xx = 2
yy = 6
Effect(client/C)
//What Would I have to put here to change the macro to this?
usr.Ice()
for(var/Skills/S in C.screen)
S.Parts("u",C)
S.Opened(0,C)
usr.client.CloseMenu("Skills")

Any help on what I could do to assign the macro to this?
To change a macro, use winset().

See: http://www.byond.com/docs/ref/skinparams.html#macros
In response to Garthor
winset(usr,"macro1","parent=macro;name=1;command=verb1")


macro1 - Name of macro in the macros macro list
macro - the name of the macro list
name - the key in the macro list
command - the verb or ( use [] ) variable being run