mob/var/last_clicked
obj/card/var/command
obj/card/Click()
var/mob/p=usr
p.last_clicked=src.command
switch(input("Select a key to set this macro to", "Macro", text) in list ("1","2","Nevermind"))
if("1")
// macroinput = 1
winset(usr,"macro1","parent=macro;name=1;command=[command]")
if("2")
// macroinput = 2
winset(usr,"macro1","parent=macro;name=2;command=[command]")
obj/card/black_card/command="blackness"
obj/card/
icon = 'blackness.dmi'
obj/card/black_card/verb/blackness()
// var/mob=usr
usr << "Hi"
1
2
In response to Darkjohn66
|
|
doesnt send the message:
|
In response to Darkjohn66
|
|
Try specifying a target for input.
|
1
2
I add them to my iventory and right click on one it has the verb blackness I use it and it dies plus fails the connection. Why was the verb made to delete me anyways im confused. Where should I put in the macro code and why is this verb made to do this. Clicking them does nothing.