Posted: Sat Aug 14, 2010 1:19 pm
Short version:
I'd like Allegiance to have a different window title when you are in the lobby.
Right now the window title is always "Allegiance", I'd like it to change to something "Allegiance lobby" when you're not in-game.
Long version:
This has to do with Alleg's funny chat system, but not just that.
AHK scripts which work their magic in the chat generate gibberish while in the lobby, since pressing TAB to switch channel has no meaning.
If the script could be made aware through the window title that the game is in the lobby, it would allow quite a few nifty things.
Specifically, I have an outline of a chat bot which I'd intend as an assistant to @HELP and possibly in the future as an assistant for actual newbies.
This works just like an IRC bot but it's client based.
Basic example:
QUOTE Noob: /hello
Bot: Hi, type "/help" for help.
Player: /help
Bot: type an acronym after a slash for an explanation
Player: /hint
Bot: Only voobs use the acronym hint to indicate a heavy interceptor. Please call it a hvy int.[/quote]
The only serious problem is that it only works well inside a game. If you engage it in the lobby it generates a lot of gibberish and unfortunately, sends it to everyone...
If I get this feature, I promise to release a very amusing script.
Notes:
This problem/feature is also relevant for no-chat scripts, basically anything which generates a @#(!load of key presses.
Also, in principle, allowing scripts to know the game state though the window title can allow interesting stuff like scripts which work only in F3 etc.
A small caveat, messing with the title will semi-break mpAL (it will work only in-game, not in lobby).
EDIT:
Look at the wiki AHK page for example's why automatic chatting generates gibberish.
I'd like Allegiance to have a different window title when you are in the lobby.
Right now the window title is always "Allegiance", I'd like it to change to something "Allegiance lobby" when you're not in-game.
Long version:
This has to do with Alleg's funny chat system, but not just that.
AHK scripts which work their magic in the chat generate gibberish while in the lobby, since pressing TAB to switch channel has no meaning.
If the script could be made aware through the window title that the game is in the lobby, it would allow quite a few nifty things.
Specifically, I have an outline of a chat bot which I'd intend as an assistant to @HELP and possibly in the future as an assistant for actual newbies.
This works just like an IRC bot but it's client based.
Basic example:
QUOTE Noob: /hello
Bot: Hi, type "/help" for help.
Player: /help
Bot: type an acronym after a slash for an explanation
Player: /hint
Bot: Only voobs use the acronym hint to indicate a heavy interceptor. Please call it a hvy int.[/quote]
The only serious problem is that it only works well inside a game. If you engage it in the lobby it generates a lot of gibberish and unfortunately, sends it to everyone...
If I get this feature, I promise to release a very amusing script.
Notes:
This problem/feature is also relevant for no-chat scripts, basically anything which generates a @#(!load of key presses.
Also, in principle, allowing scripts to know the game state though the window title can allow interesting stuff like scripts which work only in F3 etc.
A small caveat, messing with the title will semi-break mpAL (it will work only in-game, not in lobby).
EDIT:
Look at the wiki AHK page for example's why automatic chatting generates gibberish.