client/Click(M)
if(M:icon =='Aaa.dmi')
if(M:icon_state=="a")
usr.Punchp(usr)
else
if(M:icon == 'Flower.dmi')
if(M in usr:contents)
if(usr.Flower == 1)
usr.overlays -= M:icon
usr.Flower = 0
usr << "You take off 'Flower'"
else
usr.overlays += M:icon
usr.Flower = 1
usr << "You put on 'Flower'"
else
if(M:accesory==1)
if(M in usr:contents)
if(usr.Wearing == 1)
usr.overlays -= M:icon
usr.Wearing = 0
usr << "You take off '[M:name]'"
else
usr.overlays += M:icon
usr.Wearing = 1
usr << "You put on '[M:name]'"
else
if(istype(M, /mob/spells))
if(usr:target:z==usr.z)
usr.blahicon = usr.icon
usr.icon = 'tele.dmi'
sleep(3)
usr.x = usr:target:x
if(usr:target:y == 1)
usr.y = usr:target:y
else
usr.y = usr:target:y-1
usr.z = usr:target:z
sleep(3)
usr.icon = usr.blahicon
usr << "You instantly appear before [usr:target]"
usr:target << "[usr] instantly appears before you!"
else
if(M:mon != null)
if(usr.z != M:z)
usr << sound(M:themesong,repeat=1)
else
if(M:icon=='Hamtaro-Poring2.dmi'||M:name=="Punching Bag"||M:icon=='blackdarkspirit.dmi')
if(M in oview(1))
if(usr.canthit!=1&&M:Splatting!=1)
usr.Battle(M)
M:Die()
usr.canthit = 1
sleep(10 - usr.ATKSPD)
usr.canthit = 0
usr.target = M
else
usr.target = M
usr << "<B><font color=#33CCFF>You're target is now [M]."
mob
Fie
icon='Aaa.dmi'
icon_state="f"
density=0
Click()
if(usr.pkroom == 1)
usr<<"You can't go non-PK in the PK room."
else
if(usr.pk == 1)
usr.pk = 0
usr.overlays -='PK.dmi'
usr << "And now ya ain't a PKer."
else
usr.pk = 1
usr.overlays +='PK.dmi'
usr << "You're a PKer now."
Problem description: Whenever I make Click() for different mobs, nothing happens, which I believe is because of the client/Click(M). How can I get it so I can still make Click() for different mobs and have it ignore client/Click(M)?