In stealthbot when someone goes ?trigger it displays the trigger with the Keystroke (Alt + 454).
Does anyone know the code of how to make it display the keystroke of the trigger?
If I am not mistaken the keystroke he is displaying is just the character(ASCII/UNICODE) value.
Quote from: MindArchon on August 06, 2004, 09:16 PM
Does anyone know the code of how to make it display the keystroke of the trigger?
Yes.
That's right. "0" & Asc(Trigger) - just be sure Trigger is restricted to a single character in length.
Quote from: Stealth on August 06, 2004, 10:30 PM
That's right. "0" & Asc(Trigger) - just be sure Trigger is restricted to a single character in length.
Especially if Eibro is in your clan. Go away for a while and return to the trigger being EIBROISSOCOOL.
Quote from: Stealth on August 06, 2004, 10:30 PM
That's right. "0" & Asc(Trigger) - just be sure Trigger is restricted to a single character in length.
Why do I need the 0 in front? I tried Asc(".") and it got 46.
Alt + 46 still gives me .
You just do. Alt+225 != Alt+0225
I think Alt + 3 digits is compatible with the way it "always" worked, using the charset that was used then, and alt + 4+ digits uses unicode.
Quote from: Adron on August 07, 2004, 03:08 PM
I think Alt + 3 digits is compatible with the way it "always" worked, using the charset that was used then, and alt + 4+ digits uses unicode.
Hrm. In Windows 3.1, it required you to use 4 digits, prepending the 0 to the key combination. I'm not saying that it wasn't possible (AFAIK, you *could* use 2 or 3 digits), but that was the "Microsoft-sanctioned" way.