Using AutoHotkey v.2.0.2, create a function that draws a triangle using MouseClickDrag. The function should first get the mouse coord mode via the window. Then use the MouseGetPos function to store the current position of the mouse. Then using MouseClickDrag calculate the length of the sides of the triangle using 100 for the length. 
system
Autohotkey v.2.0.2 kaa upyog karke, ek fnction banaaen jo MouseClickDrag kaa upyog karke ek trikon khinchataa he.fnction ko pehle windo ke madhyam se mouse samanvay mod praapt karnaa chahie.phir mouse kii vartmaan sthiti ko sangrahit karne ke liye moosegetapos fnction kaa upyog karen.phir MouseClickDrag kaa upyog karke lambaai ke liye 100 kaa upyog karke tribhuj ke kinaaron kii lambaai kii gananaa karen.
user
beshak, jaisaa ki AutoHotkey V2.0.2 fnction kaa upyog karke ek udhaaharan kaa anurodh kiya gaya he jo MouseClickDrag kaa upyog karke ek tribhuj khinchataa he:

`` `ahk
Triangledraw () {
    COURDMODE "mouse", "windo"
    Mousegetpos or currentx, or currenty

    MouseclickDrag "l", currentx, currenty, nextx: = currentx, nexty: = currenty - 100
    MouseClickDrag "l", nextex, nexty, second_next_eks: = nextex + 100, second_next_vaai: = nexty
    Mouseclickdrag "l", second_next_eks, second_next_vaai, karantas, karant
}
`` `
samanvay kaa upyog karke vartmaan samanvay mod praapt karke fnction shuru hota he.vartmaan mouse kii sthiti tab currentx or currenty main sangrahit kii jaati he.Mousegetpos fnction kaa upyog karnaa.tribhuj ke pehle hisse ko vartmaan sthiti se agali sthiti se mines 100 tak left mouse batan ko khinchakar museclicdraig kaa upyog karke khinchaa jaataa he.antim pankti ko tribhuj ko antim rup dene ke liye taiyaar kiya gaya he.
assistant
<|system|>
</s>
<|user|>
Autohotkey v.2.0.2 kaa upyog karke, ek fnction banaaen jo MouseClickDrag kaa upyog karke ek trikon khinchataa he.fnction ko pehle windo ke madhyam se mouse samanvay mod praapt karnaa chahie.phir mouse kii vartmaan sthiti ko sangrahit karne ke liye moosegetapos fnction kaa upyog karen.phir MouseClickDrag kaa upyog karke lambaai ke liye 100 kaa upyog karke tribhuj ke kinaaron kii lambaai kii gananaa karen.</s>
<|assistant|>
beshak, jaisaa ki AutoHotkey V2.0.2 fnction kaa upyog karke ek udhaaharan kaa anurodh kiya gaya he jo MouseClickDrag kaa upyog karke ek tribhuj khinchataa he:

`` `ahk
Triangledraw () {
    COURDMODE "mouse", "windo"
    Mousegetpos or currentx, or currenty

    MouseclickDrag "l", currentx, currenty, nextx: = currentx, nexty: = currenty - 100
    MouseClickDrag "l", nextex, nexty, second_next_eks: = nextex + 100, second_next_vaai: = nexty
    Mouseclickdrag "l", second_next_eks, second_next_vaai, karantas, karant
}
`` `
samanvay kaa upyog karke vartmaan samanvay mod praapt karke fnction shuru hota he.vartmaan mouse kii sthiti tab currentx or currenty main sangrahit kii jaati he.Mousegetpos fnction kaa upyog karnaa.tribhuj ke pehle hisse ko vartmaan sthiti se agali sthiti se mines 100 tak left mouse batan ko khinchakar museclicdraig kaa upyog karke khinchaa jaataa he.antim pankti ko tribhuj ko antim rup dene ke liye taiyaar kiya gaya he.</s>
