Prowler Productions
  Dink Smallwood Forum
  wait_for_button();

Post New Topic  
profile | register | faq

Author Topic:   wait_for_button();
Gilthlos posted 03-30- 11:56 AM CT (US)   Click Here to See the Profile for Gilthlos   Click Here to Email Gilthlos  
What keys does wait_for_button() support? I mean, can numbers and/or letters be used in Dinkc scripting without having to hassle with key-## scripts and globals?
FF4LIFE posted 03-31- 01:12 AM CT (US)     Click Here to See the Profile for FF4LIFE  Click Here to Email FF4LIFE     
Actually, its used in the fashion that each key is assigned a number...a full list is at the DN somewhere...i'll just post it because i have it...

33: Page Up

34: Page Down

35: End

36: Home

44: Print Screen

45: Insert

46: Delete

48: 0

49: 1

50: 2

51: 3

52: 4

53: 5

55: 7

56: 8

57: 9

65: A

66: B

67: C

68: D

69: E

70: F

71: G

72: H

73: I

74: J

75: K

76: L

78: N

79: O

80: P

81: Q

82: R

83: S

84: T

85: U

86: V

87: W

88: X

89: Y

90: Z

96: 0 (Numpad)

97: 1 (Numpad)

98: 2 (Numpad)

99: 3 (Numpad)

100: 4 (Numpad)

101: 5 (Numpad)

102: 6 (Numpad)

103: 7 (Numpad)

104: 8 (Numpad)

105: 9 (Numpad)

106: * (Numpad)

107: + (Numpad)

109: - (Numpad)

110: . (Numpad)

111: / (Numpad)

112: F1

113: F2

114: F3

115: F4

116: F5

117: F6

118: F7

119: F8

120: F9

121: F10

122: F11

123: F12

144: Num Lock

145: Scroll Lock

186: ;

187: =

188: ,

189: -

190: .

191: /

192: `

219: [

220: \

221: ]

222: '

Probebly should have just found it and linked to it..but meh..lazy..

Gilthlos posted 04-03- 07:47 AM CT (US)     Click Here to See the Profile for Gilthlos  Click Here to Email Gilthlos     
Nah, actually that's not what i meant. I mean, (I think) it doesn't work if you do like this in a script:

wait_for_button();

if(&result == 65)
{
say("You pressed A", 1);
}
if(&result == 66)
{
say("You pressed B", 1);
}
//and so on... blah blah blah

Guess I'll just have to make it the harder way...

FF4LIFE posted 04-03- 04:06 PM CT (US)     Click Here to See the Profile for FF4LIFE  Click Here to Email FF4LIFE     
Ah i see..yes i do believe that only supports the already assigned keys for movement talking etc..
Gilthlos posted 04-12- 11:54 AM CT (US)     Click Here to See the Profile for Gilthlos  Click Here to Email Gilthlos     
BTW thanks anyway. Too bad those keycodes didn't work :(

Post New Topic  Post Reply
Hop to:


Contact Us | Prowler Productions

Powered by: Ultimate Bulletin Board, Freeware Version 5.10a
Purchase our Licensed Version- which adds many more features!
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 2000.