ID:261259
Nov 16 2001, 5:21 pm
|
|
hey can someone plz hook me up with an kick a$$ SJJ code ? plz mine dont work...
|
Sure... Here's mine...
SS_Trans(mob/M as mob in oview(3), msg as message|null) I leave it up to you to figure out how to put it into your code...lol It works in mine... But only because *I* made it that way... You have to do the actual work on your own in order to make it work... We can't just GIVE you pieces of code and expect tham to all work when you slap them together... (And to the more experienced coders here... I realize that this may seem a bit inefficient and/or sloppy... But it works...so I could care less...lol) |
In response to SuperSaiyanGokuX
|
|
(And to the more experienced coders here... I realize that this may seem a bit inefficient and/or sloppy... But it works...so I could care less...lol) In my case, I see there's a lot of code that does absolutely nothing. For example, SSTransSet(SSL) on a line by itself doesn't do a single thing. I'd like to clarify that what I pointed out was not inefficient... it was useless. =P |
In response to Spuzzum
|
|
Hmmm... I had a feeling that it would work without that (as the same proc is called again in the if statement...lol)... But I seem to have gotten under the impression that it was necessary for some reason...
And it's like that in a lot of my code...lol I could have sworn that at some point during the process I ran across a situation in which it just wouldn't work the way I wanted it to without calling the proc ahead of time like that... So maybe I just got into the habit of calling it before I actually needed it... Oh well... I plan to go through everything prior to release to clean it up a bit... |
h00k
first off, why do people do that? it sounds like an idiot speaking second off i prefer this Kick A$$ SSJ code mob/verb/ssj() world << "[usr] thinks he can go SSJ, Everyone laugh at him!" |
mob/verb/SSJ()
world << "[usr] transfroms with the power of ultra refreshing molded zuchinni and into a Super Sonnofa Joe" Replace the spaces behind the world part and into a tab. should work juuuuuust fine.... |
In response to Geo
|
|
mob/verb/SSJ() hehehe, aint that sweeeeeeeeeet lol. Lee |
In response to Pillsverry
|
|
Hehe, it's funny that your code won't work.
|
In response to Nadrew
|
|
yah
del src lmao |
In response to Bonzi
|
|
That's not why.. del src will work fine, it's the indentation that's wrong.
|
ok since these people aren't ANY help :P
heres a VERY simple code: mob/var namest = "null" ssj = 0 pl = 100 mob/Stat() stat("PL:",pl) mob/verb/SSJ() if(usr.pl >= 200 && usr.ssj = 0) usr.namest = usr.name usr.name = "SSJ [usr.name]" usr.pl *= 2 else usr << "...ummm no" this is VERY simple, if you cant understand it, then you need to learn more :D |
In response to Nadrew
|
|
Nadrew wrote:
Hehe, it's funny that your code won't work. My indentation is correct, I used "DM" and "/DM" (both in the < > form, if I actually did put < and > around the DM and /DM it would make this post look rather stupid lol) to make it look correctly, also I did the code in Dream Maker and copy pasted it into here, correctly tabbed. So :P hehe Lee |
In response to Mellifluous
|
|
I wasn't talking about your code, and what does <DM> </DM> have to do with proper code?
|
In response to Nadrew
|
|
Nadrew wrote:
I wasn't talking about your code, and what does <DM> </DM> have to do with proper code? Oh sorry. Also I used <DM> and </DM> because I wanted the layout properly Lee |
No, read the FAQ and some tutorials, learn to code, then write your own.