The Dink Network

Reply to Bookshelf

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
October 29th 2012, 11:02 AM
duck.gif
Toof
Peasant He/Him
I disagree. 
After few years of trying to make a dmod on bugged computer, WDE+ is finally working. So I'm gonna try to make one. But I'll need help with that dang scripting, and if I fail to release my dmod one day, I'll blame you guys... sorry, life is tough, so I need my conscience to be clean .

Anyway, I'm having problems with my first 'a bit more complicated script'. I know I've done something wrong, but I cannot figure out what. I've created a bookshelf, and I wanted few books readable on it. So it's a choice meny, and it goes like this:

Void hit(void)
{
say("something offensive said towards inanimate bookholding object", 1);
}
Void talk(void)
{
freeze(1);
choice start();
set_y 240
set_title_color 15
title_start();
Choose a book from bookshelf.
title_end();
"Magic skulls"
"Futuristic homes"
"Nonsence"
"Leave"
choice end();
if(&result== 1)
{
say_stop("`%few lines of blah blah about magic skulls", &current_sprite);
}
if(&result== 2)
{
say_stop("`%same goes here, only for futuristic homes", &current_sprite);
}
if(&result== 3)
{
say_stop("`%few lines containing product of my boredom", &current_sprite);
}
if(result== 4)
{
unfreeze(1);
}
}
//script end
When I talk to bookshelf, Dink just freezes there and nothing else happens.