View Single Post
03-04-13, 08:16 PM   #2
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
Not when you're passing the function variable directly but you can do it with an anonymous function 'wrapper' ie
Code:
frame:HookScript("OnMessageScrollChanged", function(self) bottomButtonControl(Here) end)
frame:HookScript("OnShow", function(self) bottomButtonControl(There) end)
  Reply With Quote