Re: New Forum Feature: Code Tag
The Code tag is now operational. To use it, try this (without spaces in the tags):
[ code ]
void talk(void)
{
freeze(1);
freeze(¤t_sprite);
say_stop("Boy, this code tag sure is spiffy!", 1);
wait(100);
say_stop("`9But does it have to be so garish?", ¤t_sprite);
wait(100);
say_stop("Well, making it look nicer would take more effort...", 1);
wait(100);
say_stop("`9Ah, I see.", ¤t_sprite);
unfreeze(¤t_sprite);
unfreeze(1);
}
[ /code ]
And it shows up like this:
[ code ]
void talk(void)
{
freeze(1);
freeze(¤t_sprite);
say_stop("Boy, this code tag sure is spiffy!", 1);
wait(100);
say_stop("`9But does it have to be so garish?", ¤t_sprite);
wait(100);
say_stop("Well, making it look nicer would take more effort...", 1);
wait(100);
say_stop("`9Ah, I see.", ¤t_sprite);
unfreeze(¤t_sprite);
unfreeze(1);
}
[ /code ]
And it shows up like this:
void talk(void) { freeze(1); freeze(¤t_sprite); say_stop("Boy, this code tag sure is spiffy!", 1); wait(100); say_stop("`9But does it have to be so garish?", ¤t_sprite); wait(100); say_stop("Well, making it look nicer would take more effort...", 1); wait(100); say_stop("`9Ah, I see.", ¤t_sprite); unfreeze(¤t_sprite); unfreeze(1); }
void main() { say_stop("Good work Dan!", &GlennGlenn); }

Awesome.
EDIT: Hmm... Emoticons still work inside the tags, as does ¤ on modify. external("emake","xlarge"); with a bunch of spaces in front of it also goes beyond the post field, it's below the lurker bar. ;/
EDIT2: There's supposed to be 4 empty rows between
EDIT3: That's on IE... On Firefox and Opera, all the problems still remain, but it displays the emoticon's path instead of the emoticon itself.
//slayer void hit( void ) { sp_target(¤t_sprite, &enemy_sprite); //lock on to the guy who just hit us //playsound playsound(28, 22050,0,¤t_sprite, 0); } void die( void ) { if (get_sprite_with_this_brain(9, ¤t_sprite) == 0) { //no more brain 9 monsters here, lets unlock the screen screenlock(0); playsound(43, 22050,0,0,0); } int &hold = sp_editor_num(¤t_sprite); if (&hold != 0) editor_type(&hold, 6); &save_x = sp_x(¤t_sprite, -1); &save_y = sp_y(¤t_sprite, -1); external("emake","xlarge"); }![]()
![]()
![]()
![]()
¤
EDIT: Hmm... Emoticons still work inside the tags, as does ¤ on modify. external("emake","xlarge"); with a bunch of spaces in front of it also goes beyond the post field, it's below the lurker bar. ;/
EDIT2: There's supposed to be 4 empty rows between
}and
int &hold = sp_editor_num(¤t_sprite);). For some reason, there's only one.
EDIT3: That's on IE... On Firefox and Opera, all the problems still remain, but it displays the emoticon's path instead of the emoticon itself.
void talk(void) { int &me = great_sprite(); say_stop("Looks great",&me); wait(100); say_stop("Except you can't copy scripts very well",&me); wait(100); say_stop("They're pasted with the line numbers...",&me); //}
EDIT: inserting emoticons produces weird results... (Someone had to try...)
Good work, but it currently looks huge...
void talk(void) { say_stop("Interesting... Why all this new stuff?", Ex-D); say_stop("Very interesting though, very interesting."; }
Wow... I remember thinking this would be a good idea back in 2001.
July 5th 2009, 09:05 AM

Skull


Oops. Okay, I'll try again.
void main(void) freeze(&skull) say_stop("`%Testing", &skull); unfreeze(&skull);
void talk(void) freeze(&king) say_stop("`1MAH BOI! I wonder what's for dinner!", &king); unfreeze(&king); }
Man this stuff is great!
void talk(void) { freeze(1); freeze(¤t_sprite); say_stop("Boy, it works",1); wait(666); unfreeze(¤t_sprite); unfreeze(1); }
void talk(void) { say("`%Gee, it sure is boring around here..", ¤t_sprite); }
redink1 is one fire! Seeing the Dink Network so alive again makes me feel all fuzzy inside.
