>>41
char* proclaim_dubs_array[] = {
"[code][b]dubz[/b]",
"
[b]check my [i]dubz[/i][/b]",
"That's cool and all, but check my
dubz"
};
char* generic_array[] = {
"fuck you ``faggot''",
"fuck off and die faggot",
"kill yourself you fucking faggot"
};
#define LENGTH(arr) (sizeof(arr)/sizeof(arr[0]))
int post_to_respond_to = random() % (last_post_number + 1);
if(last_post_number % 11 == 0) {
int response_index = random() % LEGNTH(proclaim_dubz_array);
post(">>%d\n%s\n", post_to_repsond_to, proclaim_dubz_array[response_index]);
} else {
int response_index = random() % LENGTH(generic_array);
post(">>%d\n%s\n", post_to_respond_to, generic_array[response_index]);
}
[/code]