Hi Shareen i love n like Jaqw
but i have idea for me or maybe another friend here can u help me
i try to make new button the function is to
"normal attack + delay + 3F" i all ready add button but don't know
how to link it or make the command for the record i'am blind at ahk
but i want to try
here is the ss
i only edit at playerBlock.ahk
===
class TPlayerBlock {
; Public
type := "TPlayerBlock"
name := "playerBlock"
layoutIndex := -1
; Private
_form := ""
_index := 0
_top := 0
_left := 0
__New(form, name, params*) {
this.name := name
this._form := form
for index,param in params {
if (index = 1) { ; top
this._top := param
}
else if (index = 2) { ; left
this._left := param
}
else if (index = 3) { ; index
this._index := param
}
}
form.addControl("picture", "picLineTop" . this._index, (this._top + 32), (this._left + 10), 388, 1, "http://www.elitepvpers.com/forum/images/line.png")
form.addControl("picture", "picLineBottom" . this._index, (this._top + 85), (this._left + 10), 388, 1, "http://www.elitepvpers.com/forum/images/line.png")
form.addControl("label", "lblPlayer" . this._index, (this._top + 44), (this._left + 14), 260, 20, "Player: n/a")
form.controls["lblPlayer" . this._index].font.color := 0x55ff55
form.controls["lblPlayer" . this._index].font.weight := FW_BOLD
form.controls["lblPlayer" . this._index].font.family := "Verdana"
form.addControl("label", "lblStatus" . this._index, (this._top + 65), (this._left + 14), 400, 20, "Status: Idle")
form.controls["lblStatus" . this._index].font.family := "Verdana"
form.addControl("button", "btn3f" . this._index, (this._top + 39), (this._left + 406), 50, 20, "Hit+3F")
form.addControl("button", "btnStart" . this._index, (this._top + 39), (this._left + 343), 50, 20, "Start")
form.addControl("button", "btnRemove" . this._index, (this._top + 39), (this._left + 280), 50, 20, "Remove")
}
__Get(aName) {
if aName in top,left,index,btn3f,btnStart,btnRemove,lblPlayer, lblStatus
{
if (aName = "top") {
return this._top
}
else if (aName = "left") {
return this._left
}
else if (aName = "index") {
return this._index
}
else if (aName = "btn3f") {
return this._form.controls["btn3f" . this._index]
}
else if (aName = "btnStart") {
return this._form.controls["btnStart" . this._index]
}
else if (aName = "btnRemove") {
return this._form.controls["btnRemove" . this._index]
}
else if (aName = "lblPlayer") {
return this._form.controls["lblPlayer" . this._index]
}
else if (aName = "lblStatus") {
return this._form.controls["lblStatus" . this._index]
}
}
else {
return this._form.controls[aName]
}
}
__Set(aName, aValue) {
if aName in top
{
if (aName = "top") {
this._form.controls["picLineTop" . this._index].top := aValue + 32
this._form.controls["picLineBottom" . this._index].top := aValue + 85
this._form.controls["lblPlayer" . this._index].top := aValue + 44
this._form.controls["lblStatus" . this._index].top := aValue + 65
this._form.controls["btn3f" . this._index].top := aValue + 39
this._form.controls["btnStart" . this._index].top := aValue + 39
this._form.controls["btnRemove" . this._index].top := aValue + 39
this._top := aValue
}
return aValue
}
}
disable() {
this._form.controls["picLineTop" . this._index].disable()
this._form.controls["picLineBottom" . this._index].disable()
this._form.controls["lblPlayer" . this._index].disable()
this._form.controls["lblStatus" . this._index].disable()
this._form.controls["btn3f" . this._index].disable()
this._form.controls["btnStart" . this._index].disable()
this._form.controls["btnRemove" . this._index].disable()
}
hide() {
this._form.controls["picLineTop" . this._index].hide()
this._form.controls["picLineBottom" . this._index].hide()
this._form.controls["lblPlayer" . this._index].hide()
this._form.controls["lblStatus" . this._index].hide()
this._form.controls["btn3f" . this._index].hide()
this._form.controls["btnStart" . this._index].hide()
this._form.controls["btnRemove" . this._index].hide()
}
}
===
thank just have idea
the reason why i want add this i usualy using 6 client doing bounty hunter
and want to send normal attack delay demonic eruption automatic