In response to Darkjohn66
This is coming up with some bad bugs.

mob/var/last_clicked
obj/card/var/command
obj/card/Click()
var/mob/p=usr
p.last_clicked=src.command
//other stuff
obj/card/black_card/command="blackness"
obj/card/
icon = 'blackness.dmi'
obj/card/black_card/verb/blackness()
// var/mob=usr
set src in usr
del(usr)



mob
verb
giveblackcard()
new/obj/card/black_card/(src)
new/obj/card/(src)


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.
In response to Darkjohn66
doesnt send the message:

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"
In response to Darkjohn66
Try specifying a target for input.
Page: 1 2