
08-18-2003, 05:46 AM
|
|
Registered User
|
 |
Join Date: Sep 2002
Location: -Wonderboy
Posts: 537
|
|
|
heh my dad's always telling meh to use comments while programming... it's fun because you can pretend that whateber you put is a sublimnal message repeated OVER AND OVER while the script is functioning but yea...
comments are very underused in gscript (as far as ive seen)... i think it would be ince to see a script once in a while that ya know says
if (actionjewer){
message #p(1) Is A Jew!; //#p(1) is the player's account name
}
or something like that, so we have like a little helper when we're debugging other people's scripts... or scripts we made when we were "in a state where we wouldnt remember" heh...
most scripters can easily identify (looking at the triggeraction) that #p(1) would be the players account name but it saves time and is much easier to just look to the right and say "oh!"
or say, the script keeps coming up with something like
"12 is a jew!" people can say "hmm..."
"oh ok well that's the problem! #p(1) is scripted to be the players damage! they have 'account name' listed as #p(2) in the triggeraction! Silly NATs..."
it can cause more confusion if someone types the wrong thing as a comment then what the script is actually intended to do but everything's got drawbacks right? |
__________________

we are the llama FORUms!!!EWQ Ce13d5423f23!! 2e1 @$6tgv3uy65!
|
|
|
|