The Dink Network

Reply to wait_for_button

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:
 
 
April 30th 2014, 05:47 PM
dragon.gif
Quiztis
Peasant He/Him Sweden bloop
Life? What's that? Can I download it?! 
Why can't I use all the buttons for wait_for_button? Like &result == 68 for D? Seems like only the standard buttons for Dink apply like CTRL, ESC, SPACE, arrow keys etc.

void main(void)
{
freeze(1);
loop:
wait_for_button();

if (&result == 68)
{
say("ass",1);
}

if (&result == 5)
{
say("ass",1);
}

goto loop;
}

Main problem: Dink will say ass when I press ESC, but not when I press D.