Ok, hate to bug you guys with this, but I really dont understand lists =(
Anyway, what I'm trying to do is make it so a GM can create a new campaign, or choose one of his/her old ones. Every time a GM makes a new campaign, it's (supposedly) stored in a list named lgames. That being said, here's my code for the New_Game & Choose_Game verbs I have
New_Game() set_desc = "() Begin a new game/campaign" set category = "Session" var/cname = input(src, "Set Campaign", "Set Game") as text lgames += cname campaign = cname; Choose_Game() set desc = "() Pick a game to play" set category = "Session" campaign = input(src, "Which Game?", "Choose Game") in lgames
The problem is that the campaign doesnt seem to get added to the list lgames. Everything else works fine, but lgames stays blank for some reason. Any ideas on what I'm doing wrong?
Nov 20 2001, 3:24 pm