I want to add a few items on my main menu "Default.src/bin.work, but after reading the baja manuel, I see CMDKEYE 1 & CMDKEYE 2, and also
I want to use a 1 & 2, and I tried CMDKEY 1 & CMDKEY 2, and that doesn't
CMDKEYE DIGIT 1 & CMDKEYE DIGIT 2. Which is right, or what is the proper wayto use a number with CMDKEY. Thanks in advance.
I want to add a few items on my main menu "Default.src/bin.
I want to use a 1 & 2, and I tried CMDKEY 1 & CMDKEY 2, and that doesn't work, but after reading the baja manuel, I see CMDKEYE 1 & CMDKEYE 2, and also CMDKEYE DIGIT 1 & CMDKEYE DIGIT 2. Which is right, or what is the proper way to use a number with CMDKEY. Thanks in advance.
To check for a user pressing the number 1 you should probably use CMDKEYE 1
In the default command shell, numbers change areas. This behavior is handled by this code in default.src:
cmdkey digit
compare_user_misc UM_COLDKEYS
if_false
ungetkey
end_if
msg_get_sub_num
end_cmd
so... those command keys aren't already "taken".
Re: Baja and numbers
By: Digital Man to DesotoFireflite on Mon Nov 16 2020 12:33 am
In the default command shell, numbers change areas. This behavior is handled by this code in default.src:
cmdkey digit
compare_user_misc UM_COLDKEYS
if_false
ungetkey
end_if
msg_get_sub_num
end_cmd
so... those command keys aren't already "taken".
Ah, this answers alot of my questions.
I meant to say those command keys *are* already "taken". Oops.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 61:50:29 |
Calls: | 6,654 |
Files: | 12,200 |
Messages: | 5,331,620 |