Okay, would it be possible to have someone help me with this part? I think if I take the Post and Post2 functions from Post.php, tweak them a little to skip the whole "Locked? Able to reply? quoting?" Etc. and just do the posting and returning to topic, then it'll work like I want it to. I'm going to back up my forum, put it all on my compy, and try it out on EasyPHP. But any advice as to what i need to keep, how to go about it, etc. would be appreciated.

Is there anything I can do to thank you for your help? You've done more to help with my site than anyone else, and I remember you said you were busy, so I really appreciate the time you put into helping me.

Edit: Okay, I'm an idiot at PHP. I have no idea how to set this up... Sorry SiNaN, but can you (yet again) help me? The message to be posted is this:

// The topic couldn't be created for some reason.if (empty($topicOptions['id'])){// We should delete the post that did work, though...db_query("DELETE FROM {$db_prefix}messagesWHERE ID_MSG = $msgOptions[id]LIMIT 1", __FILE__, __LINE__);

// Increase the post counter for the user that created the post.if (!empty($posterOptions['update_post_count']) && !empty($posterOptions['id'])){// Are you the one that happened to create this post?if ($ID_MEMBER == $posterOptions['id'])$user_info['posts']++;updateMemberData($posterOptions['id'], array('posts' => '+'));}

// They've posted, so they can make the view count go up one if they really want. (this is to keep views >= replies...)$_SESSION['last_read_topic'] = 0;

//Make sure they're not kicking a dead horse.if (HP = 0){$msg = '' .($you). ' tried attacking ' .($them). ' but you can't attack a dead person!';Actually, if it went to an error page instead of posting it would be even better.

The ones I gave were the codes that were causing errors. I assume it was because I was wording them wrong.

The Magic function is just like the attack function, except it takes MP to do it. The drawback is that regular attacks are free, but the bonus is most people expect everyone to use physical attacks, and as a result they often leave their Magic Defense low enough that a Magic attack can hit someone that a Physical attack could not.

Coding-wise, the only real difference is the stats for $A and $D are actually Magic A and Magic D rather than regular A and D, and there is a DB query to reduce the MP of the attacker. However, I was trying to figure out a way to (like the above two) tell a person that thay cannot attack with a magic attack if their MP is less than their Magic Attack. So it'd be kinda like I posted above, I think.

elseif(empty($HP)){$msg = 'You cannot attack a dead person!';$HP2 = 0;}Without the "$HP2 = 0;" lines, it would give a syntax error when it looked at the HP-changing DB query without having gotten an $HP2.