Here is an update to my old glsum.mac. this one now uses the GL banker on WEST side. and grabs 320pp (so when your naked and you CHA is low) buys a glowing soulstone and summons it. Enjoy for the 2 or so people who actually use it lol
Code:
|By Jmac
|Must be bound on West side by soulbinder
|
#include common/buy.inc
Sub Main
/declare i int outer
:Banker
/target a shrewd
/delay 1
/stick 9
/if (${Target.Distance}>=11) /goto :banker
/keypress U
/delay 1
/keypress U
/if (${Window[Bigbankwnd].Open}) /call getmoney
/goto :banker
Sub Getmoney
/declare I int local
/declare J int local
/declare S string local
/declare item_count int local 320
/echo Path_BuySellItems: Gettin that money
/nomodkey /notify BigBankWnd BIGB_Money0 leftmouseup
/delay 3s ( ${Window[QuantityWnd].Open} )
/for I 1 to 2
/varset J ${Window[QuantityWnd].Child[QTYW_SliderInput].Text.Length}
/echo ${Window[QuantityWnd].Child[QTYW_SliderInput].Text} ${J}
/if ( ${J} > 0 ) {
/keypress backspace chat
/delay 3s ( ${Window[QuantityWnd].Child[QTYW_SliderInput].Text.Length} < ${J} )
/varset I 1
} else {
/varset I 2
}
/next I
/varset S ${item_count}
/for I 1 to ${S.Length}
/keypress ${S.Mid[${I},1]} chat
/delay 3s ( ${Window[QuantityWnd].Child[QTYW_SliderInput].Text.Length} == ${I} )
/next I
/nomodkey /notify QuantityWnd QTYW_Accept_Button leftmouseup
/delay 3s ( !${Window[QuantityWnd].Open} )
/varset I ${Me.Cash}
/autoinv
/delay 3s ( ${Me.Cash}!=${I} )
/keypress esc
/delay 5
/declare CompA item outer
/delay 1
/varset CompA "Glowing Soulstone"
:gotomerch
/delay 1
/target a disc
/stick 9
/if (${Target.Distance}>=11) /goto :gotomerch
/keypress U
/call Buy ${CompA} 1
/delay 2s
/keypress esc
/delay 2
/target a priest
/stick 9
/delay 3s
/nomodkey /ctrl /itemnotify ${FindItem[=Glowing Soulstone].InvSlot} leftmouseup
/delay 5
/target a priest
/face
/delay 5
:loop
/keypress U
/keypress U
/delay 5
/if (${Window[Givewnd].Open}) /call end
/goto :loop
Sub End
/notify Givewnd GVW_Give_Button leftmouseup
/end
Last edited:


