mob
verb/BunshinNoJutsu()
set name = "Bunshin no jutsu"
set desc = "Create a clone"
set category = "Jutsus"
usr.Handseals()
if(usr.TT ==1)
usr << "You practice your Bunshin jutsu"
sleep(10)
usr.random = rand(1,4)
if(usr.random = 1)
sleep(20)
usr << "Your Bunshin skill grows"
usr.BunshinN += 1
if(usr.BunshinN >= 15)
usr << "You can now preform Bunshin effectivly!"
return
Problem description:
Right after the "You practice your bunshin no jutsu" it says that the sleep(10) an invalid expression. I have no clue wat that means. And if i delete it it just moves to the next line down and says invalid expression..I have had this problem before on my rips when coding but i just said F*** that peice of code, but now thatim making an original game i need to have this working. Please help me out.
your problem is right there, you need another = sign.
Another thing, look up boolean variables. if(condition)and if(!condition) :P True and false.