RunSkill(choice, mob/A, mob/B)
var/T = copytext(choice,1,2)
var/T1 = copytext(choice,2,20)
T = uppertext(T)
T += T1
choice = lowertext(choice)
var/attack = text2path("/mob/proc/[choice]")
call(A,attack)(B)
Problem description:
This is the code I use to call my skills, because I call skills using the name. So if you type punch, it would call mob/proc/punch(), but I wanna change it so I can set the skills as a proc under that skill, and then call it. Let me know if I'm not clear enough.
Mind to rephrase and elaborate?