ID:268457
 
How do i create items that have special attacks and when the weapon is equipped, a verb comes up with the special attack verb in it..How do i do that?
You'd have to create the verb as a proc, instead of a verb, then add it to the object's verbs list after its equipped, and remove it from the list when its removed.

<code>obj/equipment stick_of_flaming proc/Flame(mob/M as mob in view(src, 5)) set src in usr.contents // flame M proc/Equip() // equip it src.verbs += obj/equipment/stick_of_flaming/proc/Flame proc/Remove() // remove it src.verbs -= obj/equipment/stick_of_flaming/proc/Flame </code>
Something like that should work.