Author Topic: Very minor Weidu Question  (Read 1545 times)

Teno20

  • Guest
Very minor Weidu Question
« on: October 16, 2002, 01:41:46 PM »
I was wondering if there's any way to return to the original speaker in a banter from an append. The append dialog is below, followed by the target block. If it's answered elsewhere, I apologise in advance. If you need the whole .d file, I'll post that.

APPEND BIMOEN2
IF ~~ THEN BEGIN EatPizza
SAY ~Did you?~
IF ~!Global("TookPizza","GLOBAL",1)
!Global("TookPizza","GLOBAL",2)~ THEN REPLY ~No, not a crumb.~ GOTO NoCrumb
IF ~Global("TookPizza","GLOBAL",1)~ THEN REPLY ~Only one of them.~ GOTO OnePizza
IF ~Global("TookPizza","GLOBAL",2)
Gender(Player1,MALE)~ THEN REPLY ~Err... Yup.~ GOTO GreedyBa
IF ~Global("TookPizza","GLOBAL",2)
Gender(Player1,FEMALE)~ THEN REPLY ~Err... Yup.~ GOTO GreedyBi
END

IF ~~ THEN BEGIN NoCrumb
SAY ~Fine.~
IF ~~ THEN GOTO TekPizza
END

IF ~~ THEN BEGIN OnePizza
SAY ~Well, you aren't having any of this one.~
IF ~~ THEN GOTO TekPizza
END

IF ~~ THEN BEGIN GreedyBa
SAY ~You greedy bastard. No way are you having any of this pizza, you've had too much already!~
IF ~~ THEN GOTO TekPizza
END

IF ~~ THEN BEGIN GreedyBi
SAY ~You greedy bitch. No way are you having any of this pizza, you've had too much already!~
IF ~~ THEN GOTO TekPizza
END

IF ~~ THEN BEGIN TekPizza
SAY ~Still, I'll have the pizza. Thanks for the Gold, [CHARNAME], heh heh heh.~
IF ~~ THEN DO ~TakePartyGold(20)~ GOTO Finp
END
END

IF ~~ THEN BEGIN Finp
SAY ~Well, thank you. See you round, well, maybe not, but you never know.~
IF ~~ THEN DO ~EscapeArea()
IncrementGlobal("WhackASkunk","GLOBAL",1)~ EXIT
END                    

Offline jcompton

  • Niche Exploiter
  • Administrator
  • Planewalker
  • *****
  • Posts: 7246
Very minor Weidu Question
« Reply #1 on: October 16, 2002, 03:22:16 PM »
I'm not quite sure what you mean. The EXTERN command (rather than GOTO) is how you branch from one DLG file to another. So if Imoen was discussing this pizza problem with Aerie, it would be

EXTERN BAERIE Finp

                   
Cespenar says, "Kelsey and friends be at the Pocket Plane? Ohhh yesssss!" http://www.pocketplane.net

Offline weimer

  • Moderator
  • Planewalker
  • *****
  • Posts: 2222
  • Gender: Male
    • WeiDU and Weimer Mods
Very minor Weidu Question
« Reply #2 on: October 16, 2002, 06:40:20 PM »
I'm not quite sure what you mean either, but you may be looking for APPENDI, which counts as a "state" and thus allows you to continue listing states in the first file after you're done with it.                    

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: