However they are still basic and not written for use by anyone but myself (character names are hardcoded and more skill cap/error checking should be done)
But I don't want to go messing with that if no one wants this. So just seeing if there's any interest in it before I make a more advanced teaching script. Features would be
--- LangTeach.mac ---
* Automatically cycles through your known languages and teaches them via GroupSay.
* Paramenter given for whom you're teaching it to as to send them a /tell of "info" about the current lang/teacher's current skill/etc. (works in conjunction with the listener macro)
--- LangListen.mac ---
* Parses the /tell given by LangTeach.mac to determine whether or not the listener knows the skill to 100 already (or to the Teacher's ability)
* When capped to 100 (or to Teacher's ability) automatically /tell's the teacher to autoadvance to the next language.
Basically the intent is you start up the listener macro on one person, then start up the teaching macro on the other person. It will automatically cycle through all languages and teach them to the listener so that the listener has the skill levels the teacher does. All unassisted, automatically.
A few posts for interest and i'll finish it up and post.
However one problem (partially why im posting this).
If i switch my current language via "/language <#>" command, any text sent from a macro (or typed in the MQ2 window) is pushed through as Common Tongue.
To Reproduce:
1.) TYPE (no context menus): "/language 2" (doesnt matter what language, just anything but Common Tongue)
2.) Run macro code:
Code: Select all
Sub Main
/tell Soandso Hello!
/returninside the MQ2 UI Window, type: "/tell Soandso Hello!"
The text will be Common Tongue regardless. However just typing the same thing in any other window besides MQ2 yields the correct language.
This is avoidable by using Context Menus to select your language, then it all behaves correctly. But using the /language command MQ2 seems to ignore it or something (not quite sure about the workings behind it). As such i've been using a Hotbutton and /keypress to do the text, otherwise the macro would only be sending Common Tongue.
If anyone can give me a solution to this besides using a slow ass Hotbutton, i'll finish the macro as well.
-EpicCamp
