Change background image
  1. What's up? I see you're viewing as a Guest. How about registering, it only takes like 2 minutes. This will enable you to do more on our forum and stay updated.

The "If" Statement

Discussion in 'Wii Game Mods' started by Nuke547, Jun 16, 2011.

Thread Status:
This thread is more than 180 days old.
  1. Nuke547

    Nuke547 Junior Member Member

    The "if" statement can be very useful when coding.
    It is basically saying "if this happens, that will happen".
    So if we wanted to see if your name was "Nuke547", then you would type

    Code:
    if( self.name == "Nuke547" ) doThread();
    That is to make it do a thread if your name is "Nuke547".
    Whenever using an "if" statement, if your putting an equal sign, or an & sign, then you must put 2.
    Code:
    if( self.name == "Nuke547" && self getCurrentWeapon() == "ak74u_mp" )
    {
          iPrintlnBold( "Your name is Nuke547!" )
    }
    That is how you use the "If" statement.
    Hope you learned something!
  2. Mckelle

    Mckelle New Member Member

    Nuke, way to copy me, Lol
  3. Nuke547

    Nuke547 Junior Member Member

    Copy you??? When did I ever copy you. Its not hard to know the "if" statement
  4. Mckelle

    Mckelle New Member Member

    It's a joke, you obviously don't remember XeptionMods
Thread Status:
This thread is more than 180 days old.

Share This Page