Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > Zelaron Gaming > RPGMaker

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next

 
Reply
Posted 2004-09-02, 11:48 AM in reply to Lenny's post "Role Playing Theories!!!"
Like.. mad libs? I'm not sure what you're asking for here, but it doesn't sound like something that would be typically done with RPG Maker.

INPUT NAME
John Doe The Third


(*)Male
( )Female

---

1) [Name] is a stupid moron. Yes [he/she] is.
2) [Name] is currently on fire.
3) I would like to punch [Name] in [his/her] face.

---

You can pretty much write a QBASIC program for that.. (Threw this one together in a few minutes, probably has some error somewhere, but you get the point:)

Code:
REM --------------Declare Variables-----------------


DIM YName AS STRING
DIM Gender AS STRING
DIM HeShe AS STRING
DIM HimHer AS STRING
DIM HisHer AS STRING


REM --------------Input Stuff-----------------

NameInput:
INPUT "Input a name:      "; YName$



GenderInput:
INPUT "Input a gender (M/F)    "; Gender$
Gender = UCASE$(Gender)
Gender = LEFT$(Gender, 1)


IF NOT ((Gender = "M") OR (Gender = "F")) THEN GOTO GenderInput


REM --------- Set gender-specific words ------------

IF Gender = "M" THEN HeShe = "he" ELSE HeShe = "she"
IF Gender = "M" THEN HimHer = "him" ELSE HimHer = "her"
IF Gender = "M" THEN HisHer = "his" ELSE HeShe = "her"


REM ------------------Output-------------------

CLS

PRINT "1) "; YName; " is a moron.   Yes "; HeShe; " is."
PRINT "2) "; YName; " is currently on fire."
PRINT "3) I would like to punch "; YName; " in "; HisHer; " face."
Edit: Fixed again..

Last edited by BlueCube; 2004-09-04 at 03:34 PM.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 02:55 AM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.