Author |
Topic |
|
Sloan
Starting Member
24 Posts |
Posted - 06 June 2001 : 16:35:09
|
Ok, I’ve been working on a two-pronged mod here. The first part of it is an avatar rank system. Instead of receiving multiple stars, a user will receive an avatar instead. That part of it works, but the second part of it is the one that is not working. I am attempting to add ranks to the database. I need more than 6 regular user ranks. I need 13 so far, and I have altered all of the files that are associated with the ranking system, but I receive the following error.
Microsoft VBScript compilation error '800a03ea' Syntax error /inc_functions.asp, line 1008 if (fM_POSTS >= intRankLevel4) and (fM_POSTS < intRankLevel5) then Member_Level = Member_Level & ------------------------------------------------------------------------------------------------^
I’m completely stuck here, and I have no Idea where to go next. Here is a zip of the files.: If one download doesn’t work, the other should.
http://www.makeitso.cjb.net/files.zip http://www.crosswinds.net/~startrekccg/files.zip Note: Just copy and paste into browser! Note: The readme is a copy of this message.
Thanks for your help!
BTW, I wasn't sure if this should go in this forum or the with code forum. I decided to place it here because it wasn't workong! I can repost if it's in the wrong forum!
Edited by - Sloan on 06 June 2001 16:43:00 |
|
e3stone
Average Member
USA
885 Posts |
Posted - 06 June 2001 : 17:01:41
|
well, I believe that you're if..then statements are incorrect. syntax wise, they should be:
if (fM_POSTS < intRankLevel1) then Member_Level = (Member_Level & strRankLevel0) elseif (fM_POSTS >= intRankLevel1) and (fM_POSTS < intRankLevel2) then Member_Level = (Member_Level & strRankLevel1) elseif (fM_POSTS >= intRankLevel2) and (fM_POSTS < intRankLevel3) then Member_Level = (Member_Level & strRankLevel2) elseif (fM_POSTS >= intRankLevel3) and (fM_POSTS < intRankLevel4) then Member_Level = (Member_Level & strRankLevel3) elseif...and so on
<-- Eric -->
InsideWaco.com |
|
|
big9erfan
Average Member
540 Posts |
|
Sloan
Starting Member
24 Posts |
Posted - 06 June 2001 : 19:51:22
|
quote:
well, I believe that you're if..then statements are incorrect. syntax wise, they should be:
if (fM_POSTS < intRankLevel1) then Member_Level = (Member_Level & strRankLevel0) elseif (fM_POSTS >= intRankLevel1) and (fM_POSTS < intRankLevel2) then Member_Level = (Member_Level & strRankLevel1) elseif (fM_POSTS >= intRankLevel2) and (fM_POSTS < intRankLevel3) then Member_Level = (Member_Level & strRankLevel2) elseif (fM_POSTS >= intRankLevel3) and (fM_POSTS < intRankLevel4) then Member_Level = (Member_Level & strRankLevel3) elseif...and so on
<-- Eric -->
InsideWaco.com
Well, I don't think so. I just copied the previous lines from the inc_functions.asp and changed the numbers.
|
|
|
|
Topic |
|