ID:141421
 
Code:
        PerformJutsu()
if(usr.SealsUsed>0)
if(usr.Element=="")
if(usr.Seal1=="Dog"&&usr.Seal2=="Boar")
TestJutsu(usr)
else
usr << "There are no jutsu for those hand seals."
ResetSeals(usr)
else
usr << "You haven't used any hand seals!"


Timer:
        FadeTimerHand(mob/M)
while(M.HandFadeDown > 0)
M << "Hand Seal Timer : [M.HandFadeDown]"
sleep(10)
M.HandFadeDown -= 1
usr.CanSeal = 0
if(M.HandFadeDown == 0)
ResetSeals(M)


Example HandSeal:
        Dog()
if(usr.HandSealTimer == 0)
usr.HandSealTimer = 2
usr.HandFadeDown = 10
switch(usr.SealsUsed)
if(0)
usr.Seal1 = "Dog"
if(1)
usr.Seal2 = "Dog"
if(2)
usr.Seal3 = "Dog"
if(3)
usr.Seal4 = "Dog"
if(4)
usr.Seal5 = "Dog"
if(5)
usr.Seal6 = "Dog"
if(6)
usr.Seal7 = "Dog"
if(7)
usr.Seal8 = "Dog"
if(8)
usr.Seal9 = "Dog"
if(9)
usr.Seal10 = "Dog"
if(10)
usr.Seal11 = "Dog"
if(11)
usr.Seal12 = "Dog"
if(12)
usr.Seal13 = "Dog"
if(13)
usr.Seal14 = "Dog"
if(14)
usr.Seal15 = "Dog"
if(15)
usr.Seal15 = "Dog"
if(16)
usr.Seal16 = "Dog"
if(17)
usr.Seal17 = "Dog"
if(18)
usr.Seal18 = "Dog"
if(19)
usr.Seal19 = "Dog"
if(20)
usr.Seal20 = "Dog"
usr.SealsUsed++
if(usr.CanSeal==1)
FadeTimerHand(usr)


Seals Resettter:
        ResetSeals(mob/M)
M.Seal1 = ""
M.Seal2 = ""
M.Seal3 = ""
M.Seal4 = ""
M.Seal5 = ""
M.Seal6 = ""
M.Seal7 = ""
M.Seal8 = ""
M.Seal9 = ""
M.Seal10 = ""
M.Seal11 = ""
M.Seal12 = ""
M.Seal13 = ""
M.Seal14 = ""
M.Seal15 = ""
M.Seal16 = ""
M.Seal17 = ""
M.Seal18 = ""
M.Seal19 = ""
M.Seal20 = ""
M.SealsUsed=0
M.CanSeal = 1
M.HandSealTimer = 0
M.HandFadeDown = 0


Problem description:
For whatever reason, I have that set to Spacebar, the Proc itself works fine. But, if you use the proc while HandSeals are already active(Kinda the correct time), the next time you use a Seal the Timer will not appear.

Er, bump
In response to Asellia
By gods (and goddess... or mythical beings... or "god" (as a neutral word) ... or ... something), that is horrible. Reminds me of the NBOTLS source code...

Instead of using 20 useless variables, you could have one list variable... and learn boolean values/tricks (forum search it).

Anyways, are you sure it doesn't appear when you try again? It should have at least acted as you have resetted it.

Would be nice to see the fade timer proc as well.
Oh dear god...
/*You can either use a predefined list and 1 verb
Or multiple verbs and an empty list*/


//I chose to show the multiple verbs one...
mob/var/list = List()
mob/proc/Jutsu()
if(List.len==3 && List[1]=="Dog" && List[2]=="Rat" && List[3]=="Tiger")
src<<"Success!"
else src<<"D'oh!"
List = list() //null out the list

mob/verb
Dog()
List += "Dog"
Rat()
List += "Rat"
Tiger()
List += "Tiger"
Execute()
Jutsu() //call the jutsu's proc

Mind you, it's probably not the best way to do such a thing, but it works for me haha.