ID:146806
 
Code:Punches Code
mob
verb
punch()
set hidden = 1
if(usr.attacking == 0)
usr.combolist += "P"
spawn() ComboCheck()
var/obj/K = new/obj/nothing
usr.icon_state = "punch"
usr.attacking = 1
K.dir = usr.dir
K.loc = usr.loc
step(K, dir)
var/turf/X = K.loc
for(var/mob/M as mob in X)
usr<<"You punch [M]!"
sleep(3)
usr.attacking = 0
usr.icon_state = "Normal"
usr.punching = 1
punch1()
usr.punching = 0

del(K)
proc
punch1()
if(src.punching == 1)
src.combolist += "P1"
spawn() ComboCheck1()
var/obj/K = new/obj/nothing
src.icon_state = "punch"
src.attacking = 1
K.dir = usr.dir
K.loc = usr.loc
step(K, dir)
var/turf/X = K.loc
for(var/mob/M as mob in X)
usr<<"You punch [M]!"
sleep(3)
src.attacking = 0
src.icon_state = "Normal"

del(K)

Code:List
mob/proc/Check1() 
if(("P" in usr.combolist)&&("P1" in usr.combolist))
usr<<"Succes"
var/obj/K = new/obj/nothing
usr.icon_state = "doublepunch"
usr.attacking = 1
K.dir = usr.dir
K.loc = usr.loc
step(K, dir)
var/turf/X = K.loc
for(var/mob/M as mob in X)
usr<<"You nail a combo on [M]!"
sleep(5)
usr.attacking = 0
usr.icon_state = "Normal"
del(K)
if(usr.combodel == 0)
usr.combodel = 1
sleep(12)
usr.combolist = list("")
usr.combodel = 0
obj/nothing
mob/var
attacking = 0
combolist = list("")
combodel = 0

Code:Macro
macro
G return "punch"

Problem description:Well what i want it to do is when i punch and if i press punch again while the guy is punching it does a double punch states.Ex:If i punch it punches wiht left hand if i press it again while punching it hit with it right.Don't know if ya would undertsand me clear but just ask,i really need help plz

Come on i really need help :(
In response to DaGoat787
Do not bump your message up to the top of the list in the same day. Never do it. It's illegal.

Make a variable and change it to 1 when you press the 'Punch' verb. Change it back to 0 after a few ticks using sleep. Make an if statement checking if the variable is 1 already and if it is make it change your icon state.