Valhalla Legends Forums Archive | Battle.net Bot Development | Alt Keystroke

AuthorMessageTime
MindArchon
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?
August 7, 2004, 2:16 AM
Tuberload
If I am not mistaken the keystroke he is displaying is just the character(ASCII/UNICODE) value.
August 7, 2004, 2:22 AM
UserLoser.
[quote author=MindArchon link=board=17;threadid=8056;start=0#msg74434 date=1091844979]
Does anyone know the code of how to make it display the keystroke of the trigger?
[/quote]

Yes.
August 7, 2004, 3:27 AM
Stealth
That's right. "0" & Asc(Trigger) - just be sure Trigger is restricted to a single character in length.
August 7, 2004, 3:30 AM
hismajesty
[quote author=Stealth link=board=17;threadid=8056;start=0#msg74450 date=1091849447]
That's right. "0" & Asc(Trigger) - just be sure Trigger is restricted to a single character in length.
[/quote]

Especially if Eibro is in your clan. Go away for a while and return to the trigger being EIBROISSOCOOL.
August 7, 2004, 3:34 AM
MindArchon
[quote author=Stealth link=board=17;threadid=8056;start=0#msg74450 date=1091849447]
That's right. "0" & Asc(Trigger) - just be sure Trigger is restricted to a single character in length.
[/quote]

Why do I need the 0 in front? I tried Asc(".") and it got 46.

Alt + 46 still gives me .
August 7, 2004, 3:38 AM
Eli_1
You just do. Alt+225 != Alt+0225
August 7, 2004, 4:25 AM
Adron
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.
August 7, 2004, 8:08 PM
Myndfyr
[quote author=Adron link=board=17;threadid=8056;start=0#msg74508 date=1091909284]
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]

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.
August 9, 2004, 5:20 PM

Search