Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Helpppp
#3
(05-19-2024, 10:01 AM)BloodyHash Wrote: Okay guys i finally learnt variable i need help just a small help y'all pros xD
ima just show some demo here
HP=100
SP=100
PRINT "A MONSTER HAS APPEAR"
PRINT
PRINT "What would you do"
PRINT
PRINT "1.KICK"
INPUT X
What i want is IF X = 1 i want to clear both of those variable to 0 HP and SP Big Grin

IF X = 1 THEN
    HP = 0: PRINT HP
    SP = 0: PRINT SP
ELSE
    PRINT HP, SP
END IF
HI FROM BEAUTIFUL GREECE.

(05-19-2024, 11:22 AM)RhoSigma Wrote: IF X = 1 THEN HP = 0: SP = 0
You caught me RhoSigma
Reply


Messages In This Thread
Helpppp - by BloodyHash - 05-19-2024, 10:01 AM
RE: Helpppp - by RhoSigma - 05-19-2024, 11:22 AM
RE: Helpppp - by gaslouk - 05-19-2024, 11:26 AM
RE: Helpppp - by BloodyHash - 05-19-2024, 12:52 PM



Users browsing this thread: 1 Guest(s)