ID:146134
 
Code:
    verb
Wooc(Text_entered as text)
world << "[src] says [Text_entered]"
obj // Object
SpeedBag // Define a new object
icon = 'trainin.dmi' // Define where the icon for said object is coming from
icon_state = "boks" // Define state for said object in said icon
density = 1 // Dense.
verb // A new verb
SpeedBag() // Name of the verb
set category = "Training" // Set a new statpanel for this verb to be in -
set src in oview(1) // when someone is in an outside view of 1 tile
if(usr.flight) // If the person is flying
usr << "Not while flying." // Tell the person they need to stop flying.
if (usr.resting) // If the person is resting
usr<<"Not while resting" // Tell the person they need to stop resing
else // If above if() checks have returned false
if(usr.maxpowerlevel>=20000) // Check if the person's power level is greater than or equal to 20000
if(usr.ki>=5) // And if their stamina is greater than or equal to 5
if(usr.dir == 4) // And if their direction is appropriate
flick("speedhit",src) // Make the object's icon state change to "speedhit" until the animation is done.
flick("weight-training-right", usr) // Same as above, but for the person, and a different icon state and icon file.
var/random = rand(1,3) // A new variable. This will report numbers from anywhere to 1 to 3.
if(random==1) // If said variable is 1. (We shouldn't just put if(random) because this variable is a rand() variable
usr.move = 1 // The person cant move
usr.stamina-=2 // Their stamina is decreased by two. Might want to add a check to make sure their stamina doesn't go into negatives!
usr.icon_state = "" // Make the person's icon state null, or anything located in their icon file without a name.
usr.maxpowerlevel++ // Increase the person's power level by 1.
usr.exp += 5 // Increase the person's exp by 5.
usr.meditate=null // Make their meditate variable false so that they can use the object's verb again.
usr.levelcheck() // See if the user needs to level.
usr.FlightLearn() // See if the user is ready to learn Flight.
usr.KiTechLearn() // See if the user is ready to learn KiTech
usr.AuraTechLearn() // See if the user is ready to learn AuraTech
usr.FocusLearn() // See if the user is ready to learn Focus
if(random==3) // If random is 3.
usr.move=1 // Make the user unable to move
usr.stamina-=3 // Decrease the user's stamina by 3
usr.icon_state = "" // Make the user's icon state null, or anything located in their icon file without a name.
usr.maxpowerlevel += 5 // Increase their power level by 5.
usr.exp+=rand(1,2) // Give them either 1 or 2 exp
usr.meditate=null
usr.levelcheck() // See if the user needs to level.
usr.FlightLearn() // See if the user is ready to learn Flight.
usr.KiTechLearn() // See if the user is ready to learn KiTech
usr.AuraTechLearn() // See if the user is ready to learn AuraTech
usr.FocusLearn() // See if the user is ready to learn Focus
else // If random var is 2.
usr << "Uh-oh, Spaghetti-Os! You didn't earn anything from that punch. Better try again." // Tell the user that /he didn't get anything.
else // If they aren't in the right direction.
usr << "You need to face the right way!" // Tell the person they need to face the right way.
else // If user's stamina is less than 5
usr << "You are too weak to continue!" // Tell the user that they are too weak to train on the pbag.
else // If their power level is less than 20000
usr << "You need more power level. Eat a Snickers." // Tell the user they need more power level.


Inconsistent indentation. is wut i keep gettin :

I wrote that off of your original code*, so I believe you are Govegtos.
* - Strike that.

However, you need to either delete a tab from verb, or tab Wooc and then the world message. And I don't see what you defined the verb under.
May I ask why YOU are using Zeta coding?
In response to Branks
If you're directing that at me, I am not. I don't know where you got that from.

[edit]

In response to Branks: It seems you are being unnecesarily(sp) rude to me with the bolding of "YOU", may I ask why?
And this is one thread, each title is the same and I don't know how you could tell who is replying to who.
In response to Sinoflife
Sinoflife wrote:
If you're directing that at me, I am not. I don't know where you got that from.

Uhh, did I reply to YOU? No.
In response to Sinoflife
Sinoflife wrote:
If you're directing that at me, I am not. I don't know where you got that from.

You need to start reading threads in thread view so you can see who's replying to whom, then. Clearly he was not directing that at you.

[edit]
In response to Branks: It seems you are being unnecesarily(sp) rude to me with the bolding of "YOU", may I
ask why?

He's not.

And this is one thread, each title is the same and I don't know how you could tell who is replying to who.

Thread view.

Lummox JR
In response to Sinoflife
Sinoflife wrote:
I wrote that off of your original code*, so I believe you are Govegtos.

It's not. It's just another person using ripped Zeta code. For as much as Govegtos insists he doesn't do that, he does.

You know, there's really no point even posting help for Zeta rippers because the source code is terribly broken and no ripper has the skill to fix it.

Lummox JR
Just search author:Govegtos with the forum search.

It will answer this, and every other problem you have if you continue to use Zeta code.
...Govegtos...ur royally pissing me off... Stop using zeta code first of all, start to learn how to code, stop being a frickin pain in the a**, and stop using different keys and pretending ur not who we kno u r...
In response to Lummox JR
Lummox JR wrote:
Sinoflife wrote:
If you're directing that at me, I am not. I don't know where you got that from.

You need to start reading threads in thread view so you can see who's replying to whom, then. Clearly he was not directing that at you.

[edit]
In response to Branks: It seems you are being unnecesarily(sp) rude to me with the bolding of "YOU", may I
ask why?

He's not.

And this is one thread, each title is the same and I don't know how you could tell who is replying to who.

Thread view.

Lummox JR

Thread view?
And it is kind of hard to notice emotions through the internet, you know.
In response to Sinoflife
Sinoflife wrote:
Thread view?

Your Account -> Preferences

And it is kind of hard to notice emotions through the internet, you know.

You asked why Branks was being unnecessarily rude to you. I said he's not, not because it wasn't rude (it's sort of borderline) but because he wasn't being rude to you; he was talking to somebody else.

Lummox JR
In response to Lou
Lou wrote:
...Govegtos...ur royally pissing me off... Stop using zeta code first of all, start to learn how to code, stop being a frickin pain in the a**, and stop using different keys and pretending ur not who we kno u r...

This one isn't Govegtos, as I posted not 10 minutes ago. It's just another Zeta ripper.

Lummox JR
In response to Lummox JR
Lummox JR wrote:
Sinoflife wrote:
Thread view?

Your Account -> Preferences
Thanks.
And it is kind of hard to notice emotions through the internet, you know.

You asked why Branks was being unnecessarily rude to you. I said he's not, not because it wasn't rude (it's sort of borderline) but because he wasn't being rude to you; he was talking to somebody else.

Lummox JR