Test your sigs in here!
Moderators:Best First, spiderfrommars, IronHide
- Denyer
- Over Pompous Autobot Commander
- Posts:2155
- Joined:Tue Oct 17, 2000 11:00 pm
- ::Yesterday's model
- Contact:
What it says.
-
- Got turned into the Spacebridge
- Posts:216
- Joined:Sat May 11, 2002 11:00 pm
- Location:Orono, ME
- Contact:
Forever Small?
Given the new preview option I don't see this topic getting very big.
-
- Got turned into the Spacebridge
- Posts:216
- Joined:Sat May 11, 2002 11:00 pm
- Location:Orono, ME
- Contact:
True that...
if(registered_user)
registered_user.postcount++;
else if(impy)
impy.postcount = INT_MAX;
registered_user.postcount++;
else if(impy)
impy.postcount = INT_MAX;
Re: True that...
Well, seeing as impy==registered_user, that's never gonna do the else if. Better to put it as:Tired Tracks wrote:if(registered_user)
registered_user.postcount++;
else if(impy)
impy.postcount = INT_MAX;
Code: Select all
if(impy) {
impy.postcount = INT_MAX;
}
else if(registered_user) {
registered_user.postcount++;
}
- Impactor returns 2.0
- Big Honking Planet Eater
- Posts:6885
- Joined:Sat Sep 22, 2001 11:00 pm
- ::Starlord
- Location:Your Mums
-
- Got turned into the Spacebridge
- Posts:216
- Joined:Sat May 11, 2002 11:00 pm
- Location:Orono, ME
- Contact:
Re: True that...
Actually I see Impy as beyond a registered user. Therefore he has his own boolean. crazy_poster_thingie = TRUE would have also done the trick.Rebis wrote: Well, seeing as impy==registered_user, that's never gonna do the else if. Better to put it as:Code: Select all
if(impy) { impy.postcount = INT_MAX; } else if(registered_user) { registered_user.postcount++; }
- Best First
- King of the, er, Kingdom.
- Posts:9750
- Joined:Tue Oct 17, 2000 11:00 pm
- Location:Manchester, UK
- Contact:
- Magna Prime
- Annoying Nebulan
- Posts:22
- Joined:Tue Mar 19, 2002 12:00 am
- Location:Bangor, ME
- Contact:
- Best First
- King of the, er, Kingdom.
- Posts:9750
- Joined:Tue Oct 17, 2000 11:00 pm
- Location:Manchester, UK
- Contact:
- Aaron Hong
- Me king!
- Posts:1269
- Joined:Fri Jan 11, 2002 12:00 am
- ::No pity for fools
- Location:...No let ME fold the map GAAH
- Prowl Pants
- Neo-Knight. You have our condolences
- Posts:3
- Joined:Thu Dec 14, 2000 12:00 am
- Location:Jersey City, NJ
- Contact:
- Neo Challenger
- Back stabbing Seeker
- Posts:255
- Joined:Tue Jun 19, 2001 11:00 pm
- Location:Shelby Township MI USA
- Contact:
- The Last Autobot
- Skull faced assassin
- Posts:1057
- Joined:Wed Jul 23, 2003 11:00 pm
- Location:Peru, South America
- Contact:
Let see
A dream come true. Transformers Perú is online!!!
Visit:
www.transformersperu.com
And my Transformers blog in: www.transformers-peru-tla.blogspot.com
- HoistKeeper 2.0
- Fit only for the Smelting pool
- Posts:36
- Joined:Sun Dec 16, 2001 12:00 am
- ::Renegade Commander
- Location:England
- Contact:
conforming, testing...
Clicky: www.totaltfs.com - Total Transformers Message Board
Find us on Facebook, Twitter (@totaltfs) and Google+ communities!
- JawBreaker
- Got turned into the Spacebridge
- Posts:108
- Joined:Sat Oct 18, 2003 11:00 pm
- Best First
- King of the, er, Kingdom.
- Posts:9750
- Joined:Tue Oct 17, 2000 11:00 pm
- Location:Manchester, UK
- Contact:
- Gekigengar
- Got turned into the Spacebridge
- Posts:208
- Joined:Sat Jan 06, 2001 12:00 am
- Location:In the City of Townsville, State of Confusion
- Contact:
- Rick Hunter Skull Leader
- Neo-Knight. You have our condolences
- Posts:2
- Joined:Sat Mar 31, 2001 11:00 pm
- Location:Phoenix, AZ, USA
- Contact:
-
- Neo-Knight. You have our condolences
- Posts:1
- Joined:Fri Jul 16, 2004 12:15 am
- Contact:
- Best First
- King of the, er, Kingdom.
- Posts:9750
- Joined:Tue Oct 17, 2000 11:00 pm
- Location:Manchester, UK
- Contact: