set /a titleran=0
set /a titleran+=(%RANDOM%*5/32768)+1)
if %titleran%==1 title The Lands of Sweet v.a.0: Now with basic functions
if %titleran%==2 title The Lands of Sweet v.a.0: Hey! Look behind you!
if %titleran%==3 title The Lands of Sweet v.a.0: The Lands of Sweet v.a.0: The Lands of Sweet v.a.0: The Lands of Sweet v.a.0:
if %titleran%==4 title The Lands of Sweet v.a.0: insert funny joke here
if %titleran%==5 title The Lands of Sweet v.a.0: Thots are temporary, The Sweet is eternal
This is the code that produces a random number from 1-5 then sets the title based on the selected number
BTW it actually only keeps displaying the fifth title
Aucun commentaire:
Enregistrer un commentaire