Ideally, I would like both scripts to continue working in the same ahk file.
If anyone could help me, I would appreciate it. Thank you.
Code: Select all
:*:gernede::grenade
:*:clearning::clearing
::gig's::GB
{
#IfWinActive, Skype
:*:hello::
list=HELLO, hi, Hey, sup,yo
listA:=strSplit(list, ",") ; A = Array
random, choice, 1, % listA.maxIndex() ; random between 1 and the total item count.
response:= trim(listA[choice])
sendRaw, %response% ; send it, use raw to treat things like ! as ! instead of Alt.
return
}
::gig::GB
::im::I'm