okay so i tried taking out the @ prefix as well as the " if ($nick !isop $chan) return " and now it's working, lol..