That why I come to here to ask if someone able to help me and thanks btw
![](img/smiles/tongue.gif)
addhook("<your hook>","switchfunc") function original_one(params) 	//do something end function original_two(params) 	//do something else end function switchfunc(params) 	if condition then 		original_one(params) 	else 		original_two(params) 	end end