ID:148267
 
Hi..i got a few problems....1st i want it so u can't move it allows you to move...2nd it doesn't increase your stats(as i coded it to) and it doesn't sop when u click train again I also put the icon as "usr" to allow different training states for different races...
mob
proc
train()

if(usr.Train == 0)
usr.energylevel += 0
if(usr.Train == 1)
usr.stamina -= rand(1,7)
usr.random = rand(1,2)
if(usr.random == 2)
usr.maxenergylevel += rand(1,3)
usr.random = rand(1,30)
if(usr.random == 30)
usr << "You feel more purified."
usr.purity += 1
usr.random = rand(1,29)
if(usr.random == 29)
usr << "You feel more honor enter your blood."
usr.honor += 1
usr.random = rand(1,28)
if(usr.random == 28)
usr << "You get more will to fight."
usr.will += 1
if(usr.stamina <= 0)
usr.stamina = 0
sleep(50)
usr.Train()
mob
verb
Train()
set category = "Training"
if(usr.flight == 1)
usr << "Not while flying."
if(usr.flight == 0)
if(usr.meditate == 1)
if(usr.medtime == 1)
usr << "You need to wait 10 seconds before continuing training."
if(usr.medtime == 0||usr.medtime == null)
usr << "You stop training."
usr.medtime = 1
usr.move = 1
usr.icon_state = "train"
sleep(100)
usr.meditate = 0
usr.medtime = 0
usr.train()
icon = usr
icon_state = "train"
YamiGotenks wrote:
> Hi..i got a few problems....1st i want it so u can't move it allows you to move...2nd it doesn't increase your stats(as i coded it to) and it doesn't sop when u click train again I also put the icon as "usr" to allow different training states for different races...
> mob
> proc
> train()
>
> if(usr.Train == 0)
> usr.energylevel += 0
> if(usr.Train == 1)
> usr.stamina -= rand(1,7)
> usr.random = rand(1,2)
> if(usr.random == 2)
> usr.maxenergylevel += rand(1,3)
> usr.random = rand(1,30)
> if(usr.random == 30)
> usr << "<b><font size = 2>You feel more purified."
> usr.purity += 1
> usr.random = rand(1,29)
> if(usr.random == 29)
> usr << "<b><font size = 2>You feel more honor enter your blood."
> usr.honor += 1
> usr.random = rand(1,28)
> if(usr.random == 28)
> usr << "<b><font size = 2>You get more will to fight."
> usr.will += 1
> if(usr.stamina <= 0)
> usr.stamina = 0
> sleep(50)
> usr.Train()
> mob
> verb
> Train()
> set category = "Training"
> if(usr.flight == 1)
> usr << "Not while flying."
> if(usr.flight == 0)
> if(usr.meditate == 1)
> if(usr.medtime == 1)
> usr << "You need to wait 10 seconds before continuing training."
> if(usr.medtime == 0||usr.medtime == null)
> usr << "You stop training."
> usr.medtime = 1
> usr.move = 1
> usr.icon_state = "train"
> sleep(100)
> usr.meditate = 0
> usr.medtime = 0
> usr.train()
> icon = usr
> icon_state = "train"


First, off try closing your coding in DM tags, and closing your HTML tags in general. And, secondly...don't use usr in procs, inappropriate. Use src instead.
Correct me if i'm wrong, but that looks so much like Zeta.
In response to Branks
Well, i have no clue...one of my friends gave me it as a Training System and told me to edit it...
For some reason i can't reply to your post...so i'll have to say it here...I got the usr to src and it's working better now...but how would you 2 fix my html tags problem because i'm still learning aobut those tags and really don't know what part i should fix
I still have the movement, increasement, and stop training problems. If anyone knows how to fix it plz respond to this post
In response to YamiGotenks
Simple, put a
</tag> after the text you wish the tag to effect.
In response to Dracon and Goku72
ok thanks but that is giving it missing expression....i don't understand that...-_- :-/
In response to YamiGotenks
When I type </tag> that means you put the tag name there that you are trying to close, for example...
usr<<"<b>Hi!</b>"
In response to Goku72
That didn't work...here is my coding up to date:
mob
verb
Train()
set category = "Training"
if(usr.Train == 1)
if(usr.Train == 1)
usr << "You need to wait 10 seconds before continuing training.</tag> "
if(usr.medtime == 0||usr.medtime == null)
usr << "You stop training.</tag> "
usr.medtime = 1
usr.move = 1
usr.icon_state = "train"
sleep(100)
usr.meditate = 0
usr.medtime = 0
usr.train()
icon = src
icon_state = "train"
mob
proc
train()

if(usr.Train == 0)
usr.energylevel += 0
if(usr.Train == 1)
usr.medtime = 1
usr.stamina -= rand(1,7)
usr.random = rand(1,2)
if(usr.random == 2)
usr.maxenergylevel += rand(1,3)
usr.random = rand(1,30)
if(usr.random == 30)
usr << "<font size = 2>You feel more purified.</tag> "
usr.purity += 1
usr.random = rand(1,29)
if(usr.random == 29)
usr << "
<font size = 2>You feel more honor enter your blood.</tag> "
usr.honor += 1
usr.random = rand(1,28)
if(usr.random == 28)
usr << "<font size = 2>You get more will to fight.</tag> "

usr.will += 1

if(usr.stamina <= 0)
usr.stamina = 0
sleep(50)
usr.Train()
In response to YamiGotenks
Are you blind or something? HE DIDN'T MEAN "TAG" LITERALLY. DUH.
usr << "<b>You feel more idiotic</b>"
In response to YamiGotenks
scratch this and make your own i think dbz games that are fully non-zeta are better than the zeta rips even if their games have like 20+ players a day
In response to Crispy
fixed that, still same problems...
In response to Koolguy900095
ok